Index Page
cspice_sphrec
A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X 

Abstract
I/O
Examples
Particulars
Required Reading
Version
Index_Entries

Abstract


   CSPICE_SPHREC converts spherical coordinates to rectangular 
   (Cartesian) coordinates.

   For important details concerning this module's function, please refer to
   the CSPICE routine sphrec_c.

I/O

   
   Given:
   
      r       a double precision scalar or N-vector describing
              the distance of the point from the origin.

      colat   a double precision scalar or N-vector describing
              the angle between the point and the positive z-axis
              measured in radians.

      lon     a double precision scalar or N-vector describing
              the angle of the projection of the point to the XY 
              plane from the positive X-axis measured in radians.
              The positive Y-axis is at longitude PI/2 radians.
   
   the call:
   
      cspice_sphrec, r, colat, lon, rectan
      
   returns:
   
      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 'r', 'colat', and 'lon'.

Examples


   None.

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.0.2, 05-FEB-2008, 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, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.0.0, 16-JUN-2003, EDW (JPL)

Index_Entries

 
   spherical to rectangular coordinates 
 



Wed Apr  5 17:58:03 2017