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:

This class appears on only one page of the DRM class diagram.

Example

  1. Rotate 145.0 π / 180.0 radians about the u axis.

  2. Rotate -38.5 π / 180.0 radians about the w axis

  3. Rotate 97.0 π / 180.0 radians about the v 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

Composed of (two-way) (inherited)

Composed of (two-way)

Component of (two-way) (inherited)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_LSR_Transformation_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

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

angle

 The angle field specifies the angle of rotation, measured
 counterclockwise about the given axis, in radians.

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

Last updated: July 16, 2004 Copyright © 2004 SEDRIS