CSPICE_RADREC converts the right ascension, declination
coordinates of a location to rectangular (Cartesian)
coordinates. All coordinates are expressed as double
For important details concerning this module's function, please refer to
the CSPICE routine radrec_c.
range a double precision scalar or N-vector describing
distance of the point from the origin. Output
units are the same as the units associated with 'range.'
ra a double precision scalar or N-vector describing
right ascension of the input point: the angular
distance measured toward the east from the prime meridian
to the meridian containing the input point. The direction
of increasing right ascension is from the +X axis towards
the +Y axis.
The range (i.e., the set of allowed values) of
`ra' is unrestricted. Units are radians.
dec a double precision scalar or N-vector describing
declination of the point. This is the angular
distance from the XY plane to the point.
The range of `dec' is unrestricted. Units are radians.
cspice_radrec, radius, ra, dec, rectan
rectan a double precision 3-vector or 3xN array containing the
rectangular coordinates of the position or set of positions.
'rectan' returns with the same measure of vectorization (N)
as 'range', 'ra', and 'dec'.
-Icy Version 1.0.2, 05-FEB-2008, EDW (JPL)
Edited I/O section, replaced comment
"returns with the same order"
"returns with the same measure of vectorization"
-Icy Version 1.0.1, 09-DEC-2005, EDW (JPL)
Added Examples section.
-Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)
range ra and dec to rectangular coordinates
right_ascension and declination to rectangular