API Reference for Enthought Tool Suite 3.2.0
Provides functions that manipulate quaternions.
Quaternions are frequently used to avoid 'gimbal lock' and/or 'twisting' when rotating polygons in 3D space.
Normalize a quaternion.
Multiply two quaternions.
Transform a unit quaternion into its corresponding rotation matrix (to be applied on the right side).
Compute the quaternion that rotates the normalized vector vhat1 to vhat2.
The quaternion is repesented as a tuple (scalar part, vector part).
| Local name | Refers to |
|---|---|
| np | numpy |
© Copyright 2002-2009 Enthought, Inc.