CSPICE_RADREC converts the right ascension, declination
coordinates of a location to rectangular (Cartesian)
coordinates. All coordinates are expressed as double
precision values.
For important details concerning this module's function, please refer to
the CSPICE routine radrec_c.
Given:
range a double precision scalar or Nvector 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 Nvector 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 Nvector 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.
the call:
cspice_radrec, radius, ra, dec, rectan
returns:
rectan a double precision 3vector 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'.
None.
None.
ICY.REQ
Icy Version 1.0.2, 05FEB2008, EDW (JPL)
Edited I/O section, replaced comment
"returns with the same order"
with
"returns with the same measure of vectorization"
Icy Version 1.0.1, 09DEC2005, EDW (JPL)
Added Examples section.
Icy Version 1.0.0, 16JUN2003, EDW (JPL)
range ra and dec to rectangular coordinates
right_ascension and declination to rectangular
