The SEDRIS Data Representation Model
APPENDIX A - Classes Scale |
---|
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.
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.
No FAQs supplied.
SE_LSR_Transformation_Axis | axis; | (notes) |
---|---|---|
SE_Long_Float | scale_amount; | (notes) |
If specified, this <Reference Vector> instance shall have vector_type = SE_REF_VEC_TYP_LSR_TRANSFORMATION_AXIS.
The axis field specifies the axis to scale along.
The scale_amount field specifies the percentage to scale by.
|