| Functions | |
| void | initialize_rotation_matrix (double phi, double theta, double psi, BTKMatrix &rm) | 
| Initialize a pre-existing rotation matrix using Euler angles. | |
| BTKMatrix | create_rotation_matrix (double phi, double theta, double psi) | 
| Create a new rotation matrix using Euler angles. | |
Warning: Euler angles are library-specific! There are several commonly used conventions for defining Euler rotations, and therefore rotations are not always transferable between software packages.
The BTK provides the ability to create a rotation from Euler angles, assuming the 'X convention':
![$[0,\pi]$](form_60.png) ).
). These are the conventions used in Mathematica, in case you're partial to that package. They may not be the same as whatever other package you're using, however, so beware!
| BTKMatrix BTK::MATH::create_rotation_matrix | ( | double | phi, | |
| double | theta, | |||
| double | psi | |||
| ) | 
Create a new rotation matrix using Euler angles.
| void initialize_rotation_matrix | ( | double | phi, | |
| double | theta, | |||
| double | psi, | |||
| BTKMatrix & | rm | |||
| ) | 
Initialize a pre-existing rotation matrix using Euler angles.
 1.5.1
 1.5.1