Table 6.229 — DRM_Scale

Property

Description

Class

  • <DRM Scale>

Superclass

Subclass

  • None.

Definition

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

If the absolute value of the scale is greater than 1,0, the <DRM Scale> instance specifies a transformation that will stretch any target object along the specified 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, the <DRM Scale> instance specifies a transformation that 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.

The axis field specifies the axis to scale along.

The scale_amount field specifies the multiplicative scale factor.

Clarifications

1 If specified, this <DRM Reference Vector> instance shall have vector_type = LSR_TRANSFORMATION_AXIS.

Class diagram

Figure 6.274 — DRM_Scale

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

axis

 

LSR_Transformation_Axis

scale_amount

 

Long_Float

Associated to (one-way) (inherited)

  • None.

Associated to (one-way)

  • None.

Associated by (one-way) (inherited)

  • None.

Associated by (one-way)

  • None.

Associated with (two-way) (inherited)

  • None.

Associated with (two-way)

  • None.

Composed of (two-way) (inherited)

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

Component of (two-way)

  • None.

Constraints

Example(s)

  • Scale by 2,0 along the Z axis.

  • Scale by 0,5 along the Y axis.

  • Scale by -0,75 along the X axis.

  • Scale by 0,0 along the Z axis.