Axis rotation matrices

Methods for 3D rotation about an axis or vector. More...

Functions

void initialize_rotation_matrix (BTKVector const &axis, double theta, BTKMatrix &rm)
 Initialize a pre-existing rotation matrix for rotation about an axis.
BTKMatrix create_rotation_matrix (BTKVector const &axis, double theta)
 Create a rotation matrix for a rotation about an axis.

Detailed Description

Methods for 3D rotation about an axis or vector.

These methods allow the rotation of objects around a vector or axis in 3D space. All angles are specified in radians, unless otherwise noted.


Function Documentation

BTKMatrix BTK::MATH::create_rotation_matrix ( BTKVector const &  axis,
double  theta 
)

Create a rotation matrix for a rotation about an axis.

Given an axis of rotation (expressed as a vector), and an angle of rotation (in radians) about that axis, intialize a rotation matrix. For methods to apply rotations to atoms and molecules, see Rigid-body molecular transformations.

void initialize_rotation_matrix ( BTKVector const &  axis,
double  theta,
BTKMatrix rm 
)

Initialize a pre-existing rotation matrix for rotation about an axis.

Given an axis of rotation (expressed as a vector), and an angle of rotation (in radians) about that axis, intialize a rotation matrix. For methods to apply rotations to atoms and molecules, see Rigid-body molecular transformations.


Generated on Sun Jul 15 20:46:29 2007 for BTK Core by  doxygen 1.5.1