Table 6.225 — DRM_Scale

Property

Description

Class

  • <DRM Scale>

Superclass

Subclass

  • None.

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 <DRM 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 <DRM 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.

Class diagram

Figure 6.270 — DRM_Scale

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

axis1

 

LSR_Transform_Axis

scale_amount2

 

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

Clarifications

1 This specifies the axis to scale along.

2 This specifies the percentage to scale by.

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

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.