Index Page
cspice_reclat
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_RECLAT converts rectangular (Cartesian) coordinates to
   latitudinal coordinates. All coordinates are expressed as 
   double precision values.

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

I/O

   
   Given:
   
      rectan   a double precision 3-vector or 3xN array
               containing the rectangular coordinates of a 
               position or set of positions
               
   the call:
   
      cspice_reclat, rectan, radius, longitude, latitude
   
   returns:
   
      radius      a double precision scalar or N-vector describing the 
                  distance of the position from origin.
                  
                  The units associated with 'radius' are those associated 
                  with the input 'rectan'.


      longitude   a double precision scalar or N-vector describing the 
                  angle measured in radians between the prime meridian and 
                  the meridian containing the point.  The direction of 
                  increasing longitude is from the +X axis towards the +Y axis.
 
                  The range of 'longitude' is [ -pi, pi].

      latitude    a double precision scalar or N-vector describing the angle 
                  measured in radians from the XY plane of the ray from the 
                  origin through the point.
                  
                  The range of 'latitude' is [-pi/2, pi/2].

                  'radius', 'longitude', and 'latitude' return with the same 
                  measure of vectorization (N) as 'rectan'.

Examples


   None.

Particulars


   None.

Required Reading


   ICY.REQ

Version


   -Icy Version 1.1.2, 03-FEB-2009, EDW (JPL)

      Header edits performed to improve argument descriptions.
      These descriptions should now closely match the descriptions
      in the corresponding CSPICE routine.

      Replaced the comment fragment in the I/O section
      
         "return with the same order"
         
      with
      
         "return with the same measure of vectorization"
  
   -Icy Version 1.1.1, 09-DEC-2005, EDW (JPL)

      Added Examples section.

   -Icy Version 1.1.0, 12-SEP-2004, EDW (JPL)

       Added capability to process array 'rectan'
       as input returning vectors 'radius', 'longitude', 
       and 'latitude' on output.

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

Index_Entries


   rectangular to latitudinal coordinates




Wed Apr  5 17:58:03 2017