The SEDRIS Data Representation Model
APPENDIX A - Classes Scale |
---|
An instance of this DRM class specifies a scale factor along the given axis.
If the absolute value of the scale factor is greater than 1.0, the <Scale> instance's operation stretches any target object along the given axis. On the other hand, if the absolute value is less than 1.0, any target object is shrunk along the given axis.
If the scale factor is negative, the <Scale> instance's operation reflects 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 factor.
A <Scale> instance specifies a scale of 2.0 along the W axis. This makes the dimension along the W axis twice as large.
A <Scale> instance specifies a scale of 0.5 along the V axis. This makes the dimension along the V axis half as large.
A <Scale> instance specifies a scale of -0.75 along the U axis. This reverses the axis direction and makes the dimension three quarters as large.
No FAQs supplied.
SE_LSR_Transformation_Axis | axis; | 2 |
---|---|---|
SE_Long_Float | scale_factor; | 3 |
The axis field specifies the axis to scale along.
The scale_factor field specifies the multiple by which to scale. For a <Scale> instance with a <Scale Control Link> component X, the value of the scale_factor field is obtained from X.
|