>  Docs Center  >  Libraries  >  ASTROLIB  >  POLREC
Libraries

POLREC

POLREC

Name


      POLREC

Purpose


      Convert 2-d polar coordinates to rectangular coordinates.

Category


Calling Sequence


      polrec, r, a, x, y

Inputs


      r, a = vector in polar form: radius, angle (radians). in

Keyword Parameters


Keywords


        /DEGREES means angle is in degrees, else radians.

Outputs


      x, y = vector in rectangular form, double precision out

Common Blocks


Notes


Modification History


      R. Sterner. 18 Aug, 1986.
      Johns Hopkins University Applied Physics Laboratory.
      RES 13 Feb, 1991 --- added /degrees.
Converted to IDL V5.0 W. Landsman September 1997
      1999 May 03 --- Made double precision. R. Sterner.
  Copyright (C) 1986, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



© 2024 NV5 Geospatial Solutions, Inc. |  Legal
   Contact Us