Index Page
cspice_rotvec
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_ROTVEC transform a 3-vector to a new coordinate
   system, the system generated by the rotation of angle 
   radians about axis. This transformation rotates 
   v1 by -angle (minus angle) radians about the specified 
   axis.

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

I/O

   
   Given a double precision 3-vector, a double precision
   scalar angle of rotation 'angle' measured in radians, 
   and the integer index 'iaxis', identifying the axis of 
   rotation (1, 2, or 3 where X=1, Y=2, Z=3), the call:
   
      cspice_rotvec, v1, angle, iaxis, vout
   
   returns to 'vout' a double precision 3-vector
   
   The call has the effect of:
   
      cspice_rotate, angle, iaxis, rot_mat
      cspice_mxv, rot_mat, v1, vout

Examples


   None.

Particulars


   None.

Required Reading


   ICY.REQ
   ROTATION.REQ

Version


   -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

 
   rotate a vector 
 



Wed Apr  5 17:58:03 2017