Matrix |
[SerializableAttribute] public class MatrixD2D : ICloneable
The MatrixD2D type exposes the following members.
| Name | Description | |
|---|---|---|
| MatrixD2D | Initializes a new instance of the MatrixD2D class. | |
| MatrixD2D(MatrixD2D) | Initializes a new instance of the MatrixD2D class by copying another matrix. | |
| MatrixD2D(Double, Double, Double, Double, Double, Double) | Initializes a new instance of the MatrixD2D class with specified elements. |
| Name | Description | |
|---|---|---|
| Determinant | Gets the determinant of the matrix. | |
| DX | Gets the translation X element. | |
| DY | Gets the translation Y element. | |
| Elements | Gets the elements of the matrix as an array. | |
| Rotation | Gets the rotation angle in degrees. | |
| RX | Gets the rotation X element. | |
| RY | Gets the rotation Y element. | |
| ScaleX | Gets the scale X value. | |
| ScaleY | Gets the scale Y value. | |
| Shear | Gets the shear value. | |
| SX | Gets the scale X element. | |
| SY | Gets the scale Y element. | |
| X | Gets the translation X value. | |
| Y | Gets the translation Y value. |
| Name | Description | |
|---|---|---|
| AppendInverseTransform | Appends the inverse of a transformation to the matrix. | |
| AppendTransform(MatrixD2D) | Appends a transformation to the matrix using another MatrixD2D. | |
| AppendTransform(Double, Double, Double, Double, Double, Double) | Appends a transformation to the matrix using specified elements. | |
| Clone | Creates a shallow copy of this matrix. | |
| CopyFrom(MatrixD2D) | Copies the elements from another MatrixD2D instance. | |
| CopyFrom(Object) | Copies the elements from another object if it is a MatrixD2D. | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Inverse | Gets the inverse of the matrix. | |
| InverseTransformPoint(PointD2D) | Inverse transforms a point using this matrix. | |
| InverseTransformPoint(Double, Double) | Inverse transforms a point using this matrix. | |
| InverseTransformVector(PointD2D) | Inverse transforms a vector using this matrix. | |
| InverseTransformVector(Double, Double) | Inverse transforms a vector using this matrix. | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| PrependInverseTransform | Prepends the inverse of a transformation to the matrix. | |
| PrependTransform(MatrixD2D) | Prepends a transformation to the matrix using another MatrixD2D. | |
| PrependTransform(Double, Double, Double, Double, Double, Double) | Prepends a transformation to the matrix using specified elements. | |
| Reset | Resets the matrix to the identity transformation. | |
| RotateAppend | Appends a rotation transformation to the matrix. | |
| RotatePrepend | Prepends a rotation transformation to the matrix. | |
| ScaleAppend | Appends a scale transformation to the matrix. | |
| ScalePrepend | Prepends a scale transformation to the matrix. | |
| SetElements | Sets the elements of the matrix. | |
| SetTranslationRotationShearxScale | Sets the matrix using translation, rotation, shear, and scale values. | |
| ShearAppend | Appends a shear transformation to the matrix. | |
| ShearPrepend | Prepends a shear transformation to the matrix. | |
| ToString | Returns a string that represents the current object. (Inherited from Object) | |
| TransformPoint(PointD2D) | Transforms a point using this matrix. | |
| TransformPoint(Double, Double) | Transforms a point using this matrix. | |
| TransformVector(PointD2D) | Transforms a vector using this matrix (ignores translation). | |
| TransformVector(Double, Double) | Transforms a vector using this matrix (ignores translation). | |
| TranslateAppend | Appends a translation to the matrix. | |
| TranslatePrepend | Prepends a translation to the matrix. |
| Name | Description | |
|---|---|---|
| InverseTransformPoint | (Defined by GeometryToSystemDrawingConversions) | |
| InverseTransformVector | (Defined by GeometryToSystemDrawingConversions) | |
| PrependTransform | (Defined by GeometryToSystemDrawingConversions) | |
| ToGdi | (Defined by GeometryToSystemDrawingConversions) | |
| TransformPath | (Defined by GeometryToSystemDrawingConversions) | |
| TransformPoint | (Defined by GeometryToSystemDrawingConversions) | |
| TransformPoints | (Defined by GeometryToSystemDrawingConversions) | |
| TransformVector | (Defined by GeometryToSystemDrawingConversions) |
|sx, ry, 0| |x, y, 1| * |rx, sy, 0| = |x', y', 1| |dx, dy, 1|
An alternative interpretation of this matrix is a rhombus, where the absolute coordinate of its origin is given by (dx, dy), and which is spanned by the two basis vectors (sx,ry) and (rx, sy). By inverse transformation of a given point one gets the coordinates inside this rhombus in terms of the spanning vectors.