Affine Transformation Matrix1
data class AffineTransformationMatrix1(val m00: Double, val m01: Double) : Transformer<Vec1> (source)
Affine transformation matrix for one-dimensional Euclidean vectors.
Properties
Functions
Link copied to clipboard
Computes the determinant of the affine transformation matrix. In one-dimensional space, the determinant is simply the scaling factor (m00).
Link copied to clipboard
fun eq(other: AffineTransformationMatrix1, equivalence: DoubleEquivalence = DEFAULT_DOUBLE_EQUIVALENCE): Boolean
Tests if two affine transformation matrices are approximately equal.
Link copied to clipboard
Get the inverse of this transformation.
Link copied to clipboard
Checks if the transformation preserves the orientation of points. For example: In 3D space, a translation preserves orientation, while a reflection does not.
Link copied to clipboard
Multiplies two affine transformation matrices. In one-dimensional space, this is a simple multiplication of the scaling factors and an addition of the translation factors.
Link copied to clipboard
Converts the transformation matrix to an array representation. The array is structured in row-major order.