Return true if this Transform is the identity transform
Tests for a linear transformation. A transformation is affine if it is valid and its last row is [0, 0, 0, 1]. If in addition its last column is ( 0, 0, 0, 1)^T then it is linear. An affine transformation can be broken into a linear transformation and a translation.
Returns true if this is a proper rotation.
Gets a value indicating whether or not this Transform is a valid matrix. A valid transform matrix is not allowed to have any invalid numbers.
True if matrix is Zero4x4, ZeroTransformation, or some other type of zero. The value xform[3][3] can be anything.
True if all values are 0
True if all values are 0, except for M33 which is 1.
Gets or sets this[0,0].
Gets or sets this[0,1].
Gets or sets this[0,2].
Gets or sets this[0,3].
Gets or sets this[1,0].
Gets or sets this[1,1].
Gets or sets this[1,2].
Gets or sets this[1,3].
Gets or sets this[2,0].
Gets or sets this[2,1].
Gets or sets this[2,2].
Gets or sets this[2,3].
Gets or sets this[3,0].
Gets or sets this[3,1].
Gets or sets this[3,2].
Gets or sets this[3,3].
Gets a value indicating whether or not the Transform is rigid. A rigid transformation can be broken into a proper rotation and a translation, while an isometry transformation could also include a reflection.
Gets a value indicating whether or not the Transform maintains similarity. The easiest way to think of Similarity is that any circle, when transformed, remains a circle. Whereas a non-similarity Transform deforms circles into ellipses.
A new bounding box.
Computes a new bounding box that is the smallest axis aligned bounding box that contains the transformed result of its 8 original corner points.
[boolean, Transform] (boolean) true on success. If false is returned and this Transform is Invalid, inserveTransform will be set to this Transform. If false is returned and this Transform is Valid, inverseTransform will be set to a pseudo inverse. (Transform) The inverse transform. This out reference will be assigned during this call.
Attempts to get the inverse transform of this transform.
Static
identityStatic
mirrorPoint on the mirror plane.
Normal vector to the mirror plane.
A transformation matrix which mirrors geometry in a specified plane.
Create mirror transformation matrix The mirror transform maps a point Q to Q - (2*(Q-P)oN)*N, where P = pointOnMirrorPlane and N = normalToMirrorPlane.
Static
mirrorStatic
multiplyA transformation matrix that combines the effect of both input transformations. The resulting Transform gives the same result as though you'd first apply B then A.
Multiplies (combines) two transformations. This is the same as the * operator between two transformations.
Static
planeStatic
rotationSine of the rotation angle.
Cosine of the rotation angle.
3D unit axis of rotation.
3D center of rotation.
A rotation transformation matrix.
Constructs a new rotation transformation with specified angle, rotation center and rotation axis.
Static
rotationStatic
scaleDefines the anchor point of the scaling operation.
Scaling factor in all directions.
A transform matrix which scales geometry uniformly around the anchor point.
Constructs a new uniform scaling transformation with a specified scaling anchor point.
Static
shearBase plane for shear.
Shearing vector along plane x-axis.
Shearing vector along plane y-axis.
Shearing vector along plane z-axis.
A transformation matrix which shear geometry.
Constructs a Shear transformation.
Static
translationStatic
translationXYZStatic
unsetStatic
zeroGenerated using TypeDoc
Tests for an affine transformation. A transformation is affine if it is valid and its last row is [0, 0, 0, 1]. An affine transformation can be broken into a linear transformation and a translation.