Class Matrix3D
Matrix3D class
Class represents transformation matrix.
public sealed class Matrix3D
Constructors
Name | Description |
---|
Matrix3D() | Constructor creates standard 1 to 1 matrix: [ A B C D E F G H I Tx Ty Tz] = [ 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0 , 0] |
Matrix3D(double[]) | Constructor accepts a matrix with following array representation: [ A B C D E F G H I Tx Ty Tz] |
Matrix3D(Matrix3D) | Constructor accepts a matrix to create a copy |
Matrix3D(double, double, double, double, double, double, double, double, double, double, double, double) | Initializes transformation matrix with specified coefficients. |
Properties
Name | Description |
---|
A { get; set; } | A member of the transformation matrix. |
B { get; set; } | B member of the transformation matrix. |
C { get; set; } | C member of the transformation matrix. |
D { get; set; } | D member of the transformation matrix. |
E { get; set; } | E member of the transformation matrix. |
F { get; set; } | F member of the transformation matrix. |
G { get; set; } | G member of the transformation matrix. |
H { get; set; } | H member of the transformation matrix. |
I { get; set; } | I member of the transformation matrix. |
Tx { get; set; } | Tx member of the transformation matrix. |
Ty { get; set; } | Ty member of the transformation matrix. |
Tz { get; set; } | Tz member of the transformation matrix. |
Methods
Name | Description |
---|
Add(Matrix3D) | Adds matrix to other matrix. |
override Equals(object) | Compares matrix against other object. |
override GetHashCode() | Hash-code for object. |
override ToString() | Returns text representation of the matrix. |
static GetAngle(Rotation) | Translates rotation into angle (degrees) |
See Also