Double precision 4x4 matrix struct.
More...
Inherits IEquatable< Matrix3DH >.
|
| Matrix3DH (double[] row1, double[] row2, double[] row3, double[] row4) |
| Constructor. More...
|
|
| Matrix3DH (double a11, double a12, double a13, double a14, double a21, double a22, double a23, double a24, double a31, double a32, double a33, double a34, double a41, double a42, double a43, double a44) |
| Constructor. More...
|
|
| Matrix3DH (Matrix3D matrix) |
| Constructor. More...
|
|
override bool | Equals (object obj) |
| Indicates whether this instance and the given obj are equal. More...
|
|
bool | Equals (Matrix3DH obj) |
| Indicates whether this instance and the given obj are equal. More...
|
|
override int | GetHashCode () |
| Returns the hash code for this instance. More...
|
|
|
static Matrix3DH | Identity [get] |
| The identity element.
|
|
double | A11 [get, set] |
| First top matrix element.
|
|
double | A12 [get, set] |
| Second top matrix element.
|
|
double | A13 [get, set] |
| Third top matrix element.
|
|
double | A14 [get, set] |
| Fourth top matrix element.
|
|
double | A21 [get, set] |
| First upper mid matrix element.
|
|
double | A22 [get, set] |
| Second upper mid matrix element.
|
|
double | A23 [get, set] |
| Third upper mid right matrix element.
|
|
double | A24 [get, set] |
| Fourth upper mid matrix element.
|
|
double | A31 [get, set] |
| First lower mid matrix element.
|
|
double | A32 [get, set] |
| Second lower mid matrix element.
|
|
double | A33 [get, set] |
| Third lower mid matrix element.
|
|
double | A34 [get, set] |
| Fourth lower mid matrix element.
|
|
double | A41 [get, set] |
| First bottom matrix element.
|
|
double | A42 [get, set] |
| Second bottom matrix element.
|
|
double | A43 [get, set] |
| Third bottom matrix element.
|
|
double | A44 [get, set] |
| Fourth bottom matrix element.
|
|
double | this[int row, int column] [get, set] |
| Index access. More...
|
|
Double precision 4x4 matrix struct.
◆ Matrix3DH() [1/3]
Matrix3DH |
( |
double[] |
row1, |
|
|
double[] |
row2, |
|
|
double[] |
row3, |
|
|
double[] |
row4 |
|
) |
| |
Constructor.
- Parameters
-
row1 | First component row. |
row2 | Second component row. |
row3 | Third component row. |
row4 | Fourth component row. |
- Exceptions
-
IndexOutOfRangeException | When one of the given rows has less than four values. |
NullReferenceException | When one of the given rows is null. |
◆ Matrix3DH() [2/3]
Matrix3DH |
( |
double |
a11, |
|
|
double |
a12, |
|
|
double |
a13, |
|
|
double |
a14, |
|
|
double |
a21, |
|
|
double |
a22, |
|
|
double |
a23, |
|
|
double |
a24, |
|
|
double |
a31, |
|
|
double |
a32, |
|
|
double |
a33, |
|
|
double |
a34, |
|
|
double |
a41, |
|
|
double |
a42, |
|
|
double |
a43, |
|
|
double |
a44 |
|
) |
| |
Constructor.
- Parameters
-
a11 | First top matrix element. |
a12 | Second top matrix element. |
a13 | Third top matrix element. |
a14 | Fourth top matrix element. |
a21 | First upper mid matrix element. |
a22 | Second upper mid matrix element. |
a23 | Third upper mid right matrix element. |
a24 | Fourth upper mid matrix element. |
a31 | First lower mid matrix element. |
a32 | Second lower mid matrix element. |
a33 | Third lower mid matrix element. |
a34 | Fourth lower mid matrix element. |
a41 | First bottom matrix element. |
a42 | Second bottom matrix element. |
a43 | Third bottom matrix element. |
a44 | Fourth bottom matrix element. |
◆ Matrix3DH() [3/3]
Constructor.
- Parameters
-
matrix | 3x3 matrix to create this 4x4 matrix from. |
◆ Equals() [1/2]
Indicates whether this instance and the given obj are equal.
- Parameters
-
- Returns
- True if obj and this instance represent the same value; otherwise, false.
◆ Equals() [2/2]
override bool Equals |
( |
object |
obj | ) |
|
Indicates whether this instance and the given obj are equal.
- Parameters
-
- Returns
- True if obj and this instance are the same type and represent the same value; otherwise, false.
◆ GetHashCode()
override int GetHashCode |
( |
| ) |
|
Returns the hash code for this instance.
- Returns
- A 32-bit signed integer that is the hash code for this instance.
◆ operator!=()
Unequality comparison operator.
- Parameters
-
lhs | Left hand side operand. |
rhs | Right hand side operand. |
- Returns
- True if lhs != rhs , otherwise false.
◆ operator*()
Multiplication operator.
- Parameters
-
lhs | Left hand side operand. |
rhs | Right hand side operand. |
- Returns
- Product of lhs and rhs .
◆ operator+()
Addition operator.
- Parameters
-
lhs | Left hand side operand. |
rhs | Right hand side operand. |
- Returns
- Sum of lhs and rhs .
◆ operator-()
Subtraction operator.
- Parameters
-
lhs | Left hand side operand. |
rhs | Right hand side operand. |
- Returns
- Difference of lhs and rhs .
◆ operator==()
Equality comparison operator.
- Parameters
-
lhs | Left hand side operand. |
rhs | Right hand side operand. |
- Returns
- True if lhs == rhs , otherwise false.
◆ this[int row, int column]
double this[int row, int column] |
|
getset |
Index access.
- Parameters
-
row | The row, or "Y" index to get. |
column | The column, or "X" index to get. |
- Returns
- Value at the specified position.