Class Name: Rotation

Superclass - LSR Transformation Step

Definition

An LSR Transformation Step that specifies a rotation of the given angle (in degrees of arc) about the specified axis, in the direction determined by the right-hand rule.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Rotate 145 degrees about the X axis
  2. Rotate -38.5 degrees about the Z axis
  3. Rotate 97 degrees about the Y axis

FAQs

How do I rotate about a point other than the origin?
Precede the Rotation step by a Translation step that translates to the desired rotation point.

Constraints

None.

Composed of (one-way)(inherited)

Composed of (two-way)

Component of (one-way)(inherited)

Component of (one-way)

Field Elements

SE_AXIS_ENUM axis; (notes)
SE_FLOAT64 angle; (notes)

Notes

Composed of Notes

Reference_Vector

 This <Reference Vector> must have
 vector_type = SE_LSR_TRANSFORMATION_AXIS

Fields Notes

axis

 which axis to rotate around: X, Y, Z, or a <Reference Vector>
 (all <Axes> not allowed)

angle

 number of degrees to rotate counterclockwise about the given axis

Prev: Rotating Light Behavior. Next: Rotation Control Link. Up:Index.