Affine transformation for 3D containing a transformation matrix and a translation vector. 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... | |
void | Invert () |
Invert this affine transformation in-place if possible. More... | |
AffineMatrix3D | Inverse () |
Gets the inverse of this affine transformation if possible. 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... | |
Affine transformation for 3D containing a transformation matrix and a translation vector.
No perspective transformation is possible, only translation, rotation, scaling and shear.
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.
AffineMatrix3D Inverse | ( | ) |
Gets the inverse of this affine transformation if possible.
DivideByZeroException | If the matrix cannot be inverted. |
void Invert | ( | ) |
Invert this affine transformation in-place if possible.
DivideByZeroException | If the matrix cannot be inverted. |
|
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. |