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. A <Rotation> instance specifies a rotation of 2.567 radians (approximately 145 degrees) about the u axis.

  2. A <Rotation> instance specifies a rotation of -0.681 radians (approximately -38.5 degrees) about the w axis.

  3. A <Rotation> instance specifies a rotation of 1.717 radians (approximately 97.0 degrees) 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 SRF for a given <LSR Transformation> instance, the data provider precedes the given <Rotation> instance by a <Translation> instance 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; 2
SE_Long_Float angle; 3

Notes

Composed of Notes


Reference_Vector

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

Fields Notes

axis

The axis field specifies which axis to rotate around: U, V, W, or a <Reference Vector> instance.

NOTE  SE_LSRAXIS_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. For a <Rotation> instance with a <Rotation Control Link> component X, the value of the angle field is obtained from X.


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

Last updated: July 26, 2006 Copyright © 2006 SEDRIS