Index Page
cspice_axisar
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_AXISAR returns a 3x3 double rotation matrix that rotates 
   vectors by a specified angle about a specified axis.

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

I/O

   
   Given:
   
      axis    an arbitrary, non-zero, double precision 3-vector 
              defining a rotation axis
   
      angle   a double precision angular value, in radians, 
              defining the measure of rotation about 'axis'
   
   the call:
   
      cspice_axisar, axis, angle, r
   
   returns:
   
      r         a double precision 3x3 matrix representing the 
                coordinate transformation determined by 'axis'
                and 'angle', i.e. the application of 'r' to a
                3-vector returns the result of rotating the 
                vector about 'axis' through 'angle' radians
   

Examples


   Any numerical results shown for this example may differ between
   platforms as the results depend on the SPICE kernels used as input
   and the machine specific arithmetic implementation.

   
   Apply the rotation matrix to an arbitrary 3 vector 'vec',
   using native IDL code:
   
      vec_rot = r ## vec
      
   or with an Icy call:
   
      cspice_mxv, r, vec, vec_rot

Particulars


   None.

Required Reading


   ICY.REQ
   ROTATION.REQ

Version


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

Index_Entries

 
   axis and angle to rotation 
 



Wed Apr  5 17:57:59 2017