Compacted affine matrix for 3D operations. More...
Inherits IEquatable< AffineMatrix3D >.
Public Member Functions | |
AffineMatrix3D (Matrix3D matrix, Point3Dd translation) | |
Constructor. More... | |
override bool | Equals (object obj) |
Indicates whether this instance and the given obj are equal. More... | |
bool | Equals (AffineMatrix3D t2) |
Gets whether this and the other t2 object are equal. More... | |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
override string | ToString () |
String conversion. More... | |
Static Public Member Functions | |
static AffineMatrix3D | operator* (AffineMatrix3D lhs, AffineMatrix3D rhs) |
Compose two affine matrices by multiplying them. More... | |
Properties | |
static AffineMatrix3D | Identity [get] |
The identity element. | |
Point3Dd | Translation [get, set] |
The translation part of the transformation. | |
Matrix3D | Matrix [get, set] |
The matrix part of the transformation. | |
double | this[int row, int column] [get, set] |
Index access. More... | |
Compacted affine matrix for 3D operations.
The fourth line is assumed to be 0, 0, 0, 1.
AffineMatrix3D | ( | Matrix3D | matrix, |
Point3Dd | translation | ||
) |
Constructor.
matrix | Matrix to use. |
translation | Translation to use. |
bool Equals | ( | AffineMatrix3D | t2 | ) |
Gets whether this and the other t2 object are equal.
t2 | Object to compre to. |
true
if t2 and this instance represent the same value; otherwise false
. override bool Equals | ( | object | obj | ) |
Indicates whether this instance and the given obj are equal.
obj | Object to compare to. |
true
if obj and this instance are the same type and represent the same value; otherwise false
.override int GetHashCode | ( | ) |
Returns the hash code for this instance.
|
static |
Compose two affine matrices by multiplying them.
lhs | left hand side operand |
rhs | right hand side operand |
override string ToString | ( | ) |
String conversion.
|
getset |
Index access.
row | The row, or "Y" index to get. |
column | The column, or "X" index to get. |