Matrix44D Structure |
Namespace: DigitalRune.Mathematics.Algebra
The Matrix44D type exposes the following members.
Name | Description | |
---|---|---|
Matrix44D(Double) |
Initializes a new instance of the Matrix44D struct.
| |
Matrix44D(Double) |
Initializes a new instance of the Matrix44D struct.
| |
Matrix44D(Double) |
Initializes a new instance of the Matrix22D struct.
| |
Matrix44D(IListDouble, MatrixOrder) |
Initializes a new instance of the Matrix44D struct.
| |
Matrix44D(Double, MatrixOrder) |
Initializes a new instance of the Matrix44D struct.
| |
Matrix44D(Matrix33D, Vector3D) |
Initializes a new instance of the Matrix44D struct.
| |
Matrix44D(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) |
Initializes a new instance of the Matrix44D class.
|
Name | Description | |
---|---|---|
Absolute |
Sets each matrix element to its absolute value.
| |
Absolute(Matrix44D) |
Returns a matrix with the absolute values of the elements of the given matrix.
| |
Add |
Adds two matrices.
| |
AreNumericallyEqual(Matrix44D, Matrix44D) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonD).
| |
AreNumericallyEqual(Matrix44D, Matrix44D, Double) |
Determines whether two matrices are equal (regarding a specific tolerance).
| |
ClampToZero |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Double) |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Matrix44D) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
ClampToZero(Matrix44D, Double) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
CreateLookAt |
Creates a right-handed look-at matrix (view matrix). (Only available in the XNA-compatible
build.)
| |
CreateOrthographic |
Creates a right-handed, orthographic projection matrix. (Only available in the XNA
compatible build.)
| |
CreateOrthographicOffCenter |
Creates a customized (off-center), right-handed, orthographic projection matrix. (Only
available in the XNA-compatible build.)
| |
CreatePerspective |
Creates a right-handed, perspective projection matrix. (Only available in the XNA-compatible
build.)
| |
CreatePerspectiveFieldOfView |
Creates a right-handed, perspective projection matrix based on a field of view. (Only
available in the XNA-compatible build.)
| |
CreatePerspectiveOffCenter |
Creates a customized, right-handed, perspective projection matrix. (Only available in the
XNA-compatible build.)
| |
CreateRotation(QuaternionD) |
Creates a rotation matrix from a unit quaternion.
| |
CreateRotation(Vector3D, Double) |
Creates a rotation matrix from axis and angle.
| |
CreateRotationX |
Creates a matrix that specifies a rotation around the x-axis.
| |
CreateRotationY |
Creates a matrix that specifies a rotation around the y-axis.
| |
CreateRotationZ |
Creates a matrix that specifies a rotation around the z-axis.
| |
CreateScale(Double) |
Creates a scaling matrix.
| |
CreateScale(Vector3D) |
Creates a scaling matrix.
| |
CreateScale(Double, Double, Double) |
Creates a scaling matrix.
| |
CreateTranslation(Vector3D) |
Creates a translation matrix from a vector.
| |
CreateTranslation(Double, Double, Double) |
Creates a translation matrix from the given values.
| |
Decompose(Vector3D, Matrix33D, Vector3D) |
Decomposes the matrix into the scale, translation, and rotation components.
| |
Decompose(Vector3D, QuaternionD, Vector3D) |
Decomposes the matrix into the scale, translation, and rotation components.
| |
DecomposeFast(Vector3D, Matrix33D, Vector3D) |
Decomposes the matrix into the scale, translation, and rotation components. (This method is
faster than Decompose(Vector3D, Matrix33D, Vector3D), but the matrix
must be a valid 3D scale/rotation/translation (SRT) matrix.)
| |
DecomposeFast(Vector3D, QuaternionD, Vector3D) |
Decomposes the matrix into the scale, translation, and rotation components. (This method is
faster than Decompose(Vector3D, QuaternionD, Vector3D), but the
matrix must be a valid 3D scale/rotation/translation (SRT) matrix.)
| |
Divide |
Divides a matrix by a scalar.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(Matrix44D) |
Indicates whether the current object is equal to another object of the same type.
| |
FromXna | ||
GetColumn |
Gets a column as Vector4D.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetRow |
Gets a row as Vector4D.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invert |
Inverts the matrix.
| |
Multiply(Double, Matrix44D) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix44D, Matrix44D) |
Multiplies two matrices.
| |
Multiply(Matrix44D, Vector4D) |
Multiplies a matrix with a column vector.
| |
Negate |
Negates a matrix.
| |
SetColumn |
Sets a column from a Vector4D.
| |
SetRow |
Sets a row from a Vector4D.
| |
Subtract |
Subtracts two matrices.
| |
ToArray1D |
Converts this matrix to an array of double values.
| |
ToArray2D |
Converts this Matrix44D to a 2-dimensional double array.
| |
ToArrayJagged |
Converts this Matrix44D to a jagged double array.
| |
ToList |
Converts this matrix to a list of double values.
| |
ToMatrix44F |
Converts this Matrix44D to Matrix44F.
| |
ToMatrixD |
Converts this Matrix44D to MatrixD | |
ToString |
Returns the string representation of this matrix.
(Overrides ValueTypeToString.) | |
ToString(IFormatProvider) |
Returns the string representation of this matrix using the specified culture-specific format
information.
| |
ToXna |
Converts this Matrix44D (DigitalRune Mathematics) to Matrix
(XNA Framework).
| |
TransformDirection |
Transforms a direction vector (or tangent vector).
| |
TransformNormal |
Transforms a normal vector.
| |
TransformPosition |
Transforms a position.
| |
Transpose |
Transposes this matrix.
| |
TryInvert |
Inverts the matrix if it is invertible.
|
Name | Description | |
---|---|---|
Addition |
Adds two matrices.
| |
Division |
Divides a matrix by a scalar.
| |
Equality |
Tests if two matrices are equal.
| |
(Matrix to Matrix44D) |
Performs an conversion from Matrix (XNA Framework) to Matrix44D
(DigitalRune Mathematics).
| |
(Matrix44D to Double) |
Performs an explicit conversion from Matrix44D to a 2-dimensional
double array.
| |
(Matrix44D to Double) |
Performs an explicit conversion from Matrix44D to a jagged
double array.
| |
(Matrix44D to Matrix44F) |
Performs an explicit conversion from Matrix44D to Matrix44F.
| |
(Matrix44D to Matrix) |
Performs an conversion from Matrix44D (DigitalRune Mathematics) to
Matrix (XNA Framework).
| |
(Matrix44D to MatrixD) |
Performs an implicit conversion from Matrix44D to MatrixD.
| |
Inequality |
Tests if two matrices are not equal.
| |
Multiply(Double, Matrix44D) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix44D, Matrix44D) |
Multiplies two matrices.
| |
Multiply(Matrix44D, Vector4D) |
Multiplies the matrix with a column vector.
| |
Multiply(Matrix44D, Double) |
Multiplies a matrix and a scalar.
| |
Subtraction |
Subtracts two matrices.
| |
UnaryNegation |
Negates a matrix.
|
Name | Description | |
---|---|---|
Identity |
Returns the 4 x 4 identity matrix.
| |
M00 |
The element in first row, first column.
| |
M01 |
The element in first row, second column.
| |
M02 |
The element in first row, third column.
| |
M03 |
The element in first row, fourth column.
| |
M10 |
The element in second row, first column.
| |
M11 |
The element in second row, second column.
| |
M12 |
The element in second row, third column.
| |
M13 |
The element in second row, fourth column.
| |
M20 |
The element in third row, first column.
| |
M21 |
The element in third row, second column.
| |
M22 |
The element in third row, third column.
| |
M23 |
The element in third row, fourth column.
| |
M30 |
The element in fourth row, first column.
| |
M31 |
The element in fourth row, second column.
| |
M32 |
The element in fourth row, third column.
| |
M33 |
The element in fourth row, fourth column.
| |
One |
Returns a Matrix44D with all of its components set to one.
| |
Zero |
Returns a Matrix44D with all of its components set to zero.
|
Name | Description | |
---|---|---|
Determinant |
Returns the determinant of this matrix.
| |
Inverse |
Returns the inverse of this matrix.
| |
IsNaN |
Gets a value indicating whether an element of the matrix is NaN.
| |
IsSymmetric |
Gets a value indicating whether this matrix is symmetric.
| |
ItemInt32 |
Gets or sets the element at the specified index.
| |
ItemInt32, Int32 |
Gets or sets the element at the specified index.
| |
Minor |
Gets or sets the upper left 3x3 sub-matrix.
| |
Trace |
Gets the matrix trace (the sum of the diagonal elements).
| |
Translation | ||
Transposed |
Returns the transposed of this matrix.
|
All indices are zero-based. The matrix looks like this:
M00 M01 M02 M03 M10 M11 M12 M13 M20 M21 M22 M23 M30 M31 M32 M33