The SEDRIS Data Representation Model
APPENDIX A - Classes
Scale

Class Name: Scale

Superclass - <LSR Transformation Step>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies a scaling percentage along the given axis.

If the absolute value of the scaling percentage is greater than 1.0, then the <Scale> operation will stretch any target object along the given axis. On the other hand, if the absolute value is less than 1.0, any target object will be shrunk along the given axis.

If the scaling value is negative, then the <Scale> operation will reflect any target object across the origin along the given axis, as well as shrinking or stretching the object based on the magnitude of the scale amount.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

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

Example

  1. Scale by 2.0 along the Z axis.

  2. Scale by 0.5 along the Y axis.

  3. Scale by -0.75 along the X axis.

  4. Scale by 0.0 along the Z axis.

FAQs

No FAQs supplied.

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 scale_amount; (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 the axis to scale along.

scale_amount

 The scale_amount field specifies the percentage to scale by.

Prev: Rotation Control Link. Next: Scale Control Link. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS