- Parameters
-
alpha | - Angle of rotation about the X axis. |
beta | - Angle of rotation about the Y axis. |
theta | - Angle of rotation about the Z axis. |
x | - X coordinate of the centroid of rotation |
y | - Y coordinate of the centroid of rotation |
z | - Z coordinate of the centroid of rotation |
out_matrix | - Output transformation matrix, returned to the caller. |
DETAILS
Compute_Offcenter_Rotation() produces a matrix representing a rotation about an arbitrary center of rotation. This essentially consists of a translation of (-x,-y,-z) to the origin. The translation uses a rotation of alpha degrees about the X axis, a rotation of beta degrees about the Y, and a rotation of theta degrees about the Z. Then it does a translation back to (x, y, z).
NOTES
RESTRICTIONS
- See Also
- Compute_Offaxis_Rotation, Set_Modelling_Matrix