Matrix |
public readonly struct Matrix3x2 : IEquatable<Matrix3x2>, IImmutable
The Matrix3x2 type exposes the following members.
| Name | Description | |
|---|---|---|
| Determinant | The determinant of the matrix. | |
| Identity | Gets the identity matrix. | |
| IsIdentity | Gets a value indicating whether this matrix is the identity transformation. | |
| M11 | Gets the matrix element M[1,1]. | |
| M12 | Gets the matrix element M[1,2]. | |
| M13 | Gets the matrix element M[1,3] (is always = 0). | |
| M21 | Gets the matrix element M[2,1]. | |
| M22 | Gets the matrix element M[2,2]. | |
| M23 | Gets the matrix element M[2,3] (is always = 0). | |
| M31 | Gets the matrix element M[3,1]. | |
| M32 | Gets the matrix element M[3,1]. | |
| M33 | Gets the matrix element M[3,3] (is always = 1). |
| Name | Description | |
|---|---|---|
| Equals(Matrix3x2) | Indicates whether the current object is equal to another object of the same type. | |
| Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object)) | |
| GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode) | |
| GetTransposedInverseMatrix2x2 | Gets the transposed inverse matrix of the matrix2x2 part of this matrix. The returned matrix is usually used to transform the normals of objects that will be transformed by this matrix. | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| InverseTransform(PointD2D) | Inverse transform a point p in such a way that the result will fullfill the relation p = result * matrix ( the * operator being the prepend transformation for points). | |
| InverseTransform(VectorD2D) | Inverse transform a vector p in such a way that the result will fullfill the relation p = result * matrix ( the * operator being the prepend transformation for vectors). | |
| NewFromBasisVectorsAndLocation | Creates a transformation matrix that uses two basis vectors and a location to construct the matrix that transforms points expressed in the basis vectors to points in the coordinate system. | |
| NewRotation | Gets a transformation matrix by specifying rotation (translation is 0, shear is 0 and scale is 1). | |
| NewRotationDegrees | Creates a new rotation matrix that rotates a point around a given center point. | |
| NewRotationRadian | Creates a new rotation matrix that rotates a point around a given center point. | |
| NewScalingShearingRotationDegreesTranslation | Gets a transformation matrix by specifying scale, shear, rotation and translation. The returned matrix is equivalent to Scale*Shear*Rotation*Translation. | |
| NewScalingShearingRotationRadianTranslation | Gets a transformation matrix by specifying scale, shear, rotation and translation. The returned matrix is equivalent to Scale*Shear*Rotation*Translation. | |
| NewTranslation(VectorD2D) | Creates a new translation matrix from a translation vector. | |
| NewTranslation(Double, Double) | Creates a new translation matrix from translation components. | |
| ToString | Returns the fully qualified type name of this instance. (Overrides ValueTypeToString) | |
| Transform(PointD2D) | Transforms the specified point p. For a point transform, the offset elements M41..M43 are used. The transformation is carried out as a prepend transformation, i.e. result = p * matrix (p considered as horizontal vector). | |
| Transform(VectorD2D) | Transforms the specified vector v. For a vector transform, the offset elements M31..M32 are ignored. The transformation is carried out as a prepend transformation, i.e. result = v * matrix (v considered as horizontal vector). | |
| WithAppendedTransformation(Matrix2x2) | Appends a transformation matrix f to this matrix, and returns a new matrix with the result. The original matrix is unchanged. | |
| WithAppendedTransformation(Matrix3x2) | Appends a transformation matrix f to this matrix, and returns a new matrix with the result. The original matrix is unchanged. | |
| WithPrependedTransformation(Matrix2x2) | Prepends a transformation matrix l to this matrix, and returns a new matrix with the result. The original matrix is unchanged. | |
| WithPrependedTransformation(Matrix3x2) | Prepends a transformation matrix l to this matrix, and returns a new matrix with the result. The original matrix is unchanged. |
| Name | Description | |
|---|---|---|
| Equality(Matrix3x2, Matrix3x2) | Determines whether two matrices are equal. | |
| Inequality(Matrix3x2, Matrix3x2) | Determines whether two matrices are not equal. |