Matrix |
public struct Matrix4x3
The Matrix4x3 type exposes the following members.
Name | Description | |
---|---|---|
Determinant | The determinant of the matrix. | |
Identity | Gets the identity matrix. | |
Inverse | ||
M11 | Gets the matrix element M[1,1]. | |
M12 | Gets the matrix element M[1,2]. | |
M13 | Gets the matrix element M[1,3]. | |
M14 | Gets the matrix element M[1,4] (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,2]. | |
M24 | Gets the matrix element M[2,4] (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]. | |
M34 | Gets the matrix element M[3,4] (is always = 0). | |
M41 | Gets the matrix element M[4,1]. This is OffsetX. | |
M42 | Gets the matrix element M[4,2]. This is OffsetY. | |
M43 | Gets the matrix element M[4,3]. This is OffsetZ. | |
M44 | Gets the matrix element M[4,4] (is always = 1). |
Name | Description | |
---|---|---|
AppendTransform | Appends a transformation matrix f to this matrix. | |
DecomposeIntoScaleShearRotationDegreeTranslation | ||
DecomposeIntoScaleShearRotationRadianTranslation | ||
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType) | |
FromRotationDegree | Gets a transformation matrix by specifying rotation (translation is 0, shear is 0 and scale is 1). | |
FromScaleShearRotationDegreeTranslation | Gets a transformation matrix by specifying scale, shear, rotation and translation. The returned matrix is equivalent to Scale*Shear*Rotation*Translation. | |
FromScaleShearRotationRadianTranslation | Gets a transformation matrix by specifying scale, shear, rotation and translation. The returned matrix is equivalent to Scale*Shear*Rotation*Translation. | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType) | |
GetTransposedInverseMatrix3x3 | Gets the transposed inverse matrix of the matrix3x3 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(PointD3D) | 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(VectorD3D) | 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 three basis vectors, and a location to construct the matrix that transform points expressed in the three basis vectors to points in the coordinate system. | |
NewRotationFromAxisAndAngleRadian | Creates the rotation matrix from axis and angle radian. | |
NewTranslation(VectorD3D) | ||
NewTranslation(Double, Double, Double) | ||
PrependTransform(Matrix3x3) | Prepends a transformation matrix a to this matrix. | |
PrependTransform(Matrix4x3) | Prepends a transformation matrix a to this matrix. | |
RotationXDegreePrepend | Prepends a rotation transformation around x axis. The angle is specified in degrees. | |
RotationYDegreePrepend | Prepends a rotation transformation around y axis. The angle is specified in degrees. | |
RotationZDegreePrepend | Prepends a rotation transformation around z axis. The angle is specified in degrees. | |
ToString | (Overrides ValueTypeToString) | |
Transform(PlaneD3D) | Transforms the specified plane p. | |
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(PointD3D) | 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 M41..M43 are ignored. The transformation is carried out as a prepend transformation, i.e. result = v * matrix (v considered as horizontal vector). | |
Transform(VectorD3D) | Transforms the specified vector v. For a vector transform, the offset elements M41..M43 are ignored. The transformation is carried out as a prepend transformation, i.e. result = v * matrix (v considered as horizontal vector). | |
TranslateAppend | Appends a translate transformation to this matrix. | |
TranslatePrepend | Prepends a translate transformation to this matrix. | |
WithAppendedTransformation(Matrix3x3) | Appends a transformation matrix f to this matrix, and returns a new matrix with the result. The original matrix is unchanged. | |
WithAppendedTransformation(Matrix4x3) | Appends a transformation matrix f to this matrix, and returns a new matrix with the result. The original matrix is unchanged. | |
WithPrependedTransformation | Prepends a transformation matrix l to this matrix, and returns a new matrix with the result. The original matrix is unchanged. |