AffineTransform
Description
Represents an affine transformation matrix that is decomposable into translation, rotation / reflection, and uniform scaling.
Public / Constructors
AffineTransform
7 overloads
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
Creates a new instance of AffineTransform.
FromMatrix
3 overloads
Creates a new instance of AffineTransform.
The non-uniform scaling part of matrix in will be dropped.
Creates a new instance of AffineTransform.
The non-uniform scaling and homogeneous parts of matrix in will be dropped.
Creates a new instance of AffineTransform.
The non-uniform scaling and homogeneous parts of matrix in will be stored into remainder out.
Public / Methods
EqualsAlmost
Checks if this transform and the given one are similar but necessarily equal.
- See also
Rotate
Applies the given rotation matrix in to this affine transform.
Using this method is equivalent to calling Append on this affine transform, passing a rotation-only transform created from matrix in.
RotateKeepTranslation
Applies the given rotation matrix in to this affine transform.
Using this method is not (!) equivalent to calling Append on this affine transform, passing a rotation-only transform created from matrix in, because Translation is not modified.
- See also
Scale
Applies the given scale factor in to this affine transform.
Using this method is equivalent to calling Append on this affine transform, passing a scaling-only transform created from factor in.
ScaleKeepTranslation
Applies the given scale factor in to this affine transform.
Using this method is not (!) equivalent to calling Append on this affine transform, passing a scaling-only transform created from factor in, because Translation is not modified.
TransformBoxInv
Transforms the given axis-aligned bounding box with the inverse of this affine transformation.
TransformPoint
2 overloads
Transforms the given point with this affine transformation.
Transforms the given point with this affine transformation.
TransformPointInv
2 overloads
Transforms the given point with the inverse of this affine transformation.
Transforms the given point with the inverse of this affine transformation.
TransformSphereInv
Transforms the given bounding sphere with the inverse of this affine transformation.
TransformVector
2 overloads
Transforms the given vector with this affine transformation.
Transforms the given vector with this affine transformation.
TransformVectorInv
2 overloads
Transforms the given vector with the inverse of this affine transformation.
Transforms the given vector with the inverse of this affine transformation.
Translate
Add the given translation amount in to Translation
Using this method is equivalent to calling Append on this affine transform, passing a translation-only transform created from amount in.
Public / Attributes
Determinant
Returns the sign of the determinant of the matrix that corresponds to this affine transformation.
Inverse
Returns the inverse of this transformation.
- See also
-
AffineTransform.AppendInv
AffineTransform.ToMatrixInv
AffineTransform.TransformBoxInv
AffineTransform.TransformPointInv2
AffineTransform.TransformRangeInv
AffineTransform.TransformRayInv
AffineTransform.TransformScalarInv
AffineTransform.TransformSphereInv
AffineTransform.TransformVectorInv1