The SEDRIS Data Representation Model
APPENDIX A - Classes
Rotation

Class Name: Rotation

Superclass - <LSR Transformation Step>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies a rotation of the given angle 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 can a data provider specify a rotation about a point other than the origin?

To specify a rotation about a point other than the origin of the given LSR spatial reference frame for a given <LSR Transformation> instance, the data provider would precede the given <Rotation> instance by a <Translation> that translates to the desired rotation point.

Constraints

None.

Composed of (two-way)(inherited)

Composed of (two-way)

Component of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_LSR_Transform_Axis axis; (notes)
SE_Long_Float angle; (notes)

Notes

Composed of Notes


Reference_Vector

 If specified, this <Reference Vector> instance shall have
 vector_type = SE_REF_VEC_TYP_LSR_TRANSFORMATION_AXIS.

Fields Notes


axis

 This specifies which axis to rotate around: X, Y, Z, or a
 <Reference Vector>. Note that SE_LSR_TRNSFRM_AXIS_ALL is
 not a valid value for a <Rotation> instance.

angle

 This specifies the angle of rotation, measured counterclockwise
 about the given axis, in degrees of arc.

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

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™