Matrix44F Structure |
Namespace: DigitalRune.Mathematics.Algebra
The Matrix44F type exposes the following members.
Name | Description | |
---|---|---|
Matrix44F(Single) |
Initializes a new instance of the Matrix44F struct.
| |
Matrix44F(Single) |
Initializes a new instance of the Matrix44F struct.
| |
Matrix44F(Single) |
Initializes a new instance of the Matrix22F struct.
| |
Matrix44F(IListSingle, MatrixOrder) |
Initializes a new instance of the Matrix44F struct.
| |
Matrix44F(Single, MatrixOrder) |
Initializes a new instance of the Matrix44F struct.
| |
Matrix44F(Matrix33F, Vector3F) |
Initializes a new instance of the Matrix44F struct.
| |
Matrix44F(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single) |
Initializes a new instance of the Matrix44F class.
|
Name | Description | |
---|---|---|
Absolute |
Sets each matrix element to its absolute value.
| |
Absolute(Matrix44F) |
Returns a matrix with the absolute values of the elements of the given matrix.
| |
Add |
Adds two matrices.
| |
AreNumericallyEqual(Matrix44F, Matrix44F) |
Determines whether two matrices are equal (regarding the tolerance
EpsilonF).
| |
AreNumericallyEqual(Matrix44F, Matrix44F, Single) |
Determines whether two matrices are equal (regarding a specific tolerance).
| |
ClampToZero |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Single) |
Clamps near-zero matrix elements to zero.
| |
ClampToZero(Matrix44F) |
Returns a matrix with the matrix elements clamped to the range [min, max].
| |
ClampToZero(Matrix44F, Single) |
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(QuaternionF) |
Creates a rotation matrix from a unit quaternion.
| |
CreateRotation(Vector3F, Single) |
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(Single) |
Creates a scaling matrix.
| |
CreateScale(Vector3F) |
Creates a scaling matrix.
| |
CreateScale(Single, Single, Single) |
Creates a scaling matrix.
| |
CreateTranslation(Vector3F) |
Creates a translation matrix from a vector.
| |
CreateTranslation(Single, Single, Single) |
Creates a translation matrix from the given values.
| |
Decompose(Vector3F, Matrix33F, Vector3F) |
Decomposes the matrix into the scale, translation, and rotation components.
| |
Decompose(Vector3F, QuaternionF, Vector3F) |
Decomposes the matrix into the scale, translation, and rotation components.
| |
DecomposeFast(Vector3F, Matrix33F, Vector3F) |
Decomposes the matrix into the scale, translation, and rotation components. (This method is
faster than Decompose(Vector3F, Matrix33F, Vector3F), but the matrix
must be a valid 3D scale/rotation/translation (SRT) matrix.)
| |
DecomposeFast(Vector3F, QuaternionF, Vector3F) |
Decomposes the matrix into the scale, translation, and rotation components. (This method is
faster than Decompose(Vector3F, QuaternionF, Vector3F), 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(Matrix44F) |
Indicates whether the current object is equal to another object of the same type.
| |
FromXna |
Converts a Matrix (XNA Framework) to a Matrix44F (DigitalRune
Mathematics).
| |
GetColumn |
Gets a column as Vector4F.
| |
GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetRow |
Gets a row as Vector4F.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Invert |
Inverts the matrix.
| |
Multiply(Single, Matrix44F) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix44F, Matrix44F) |
Multiplies two matrices.
| |
Multiply(Matrix44F, Vector4F) |
Multiplies a matrix with a column vector.
| |
Negate |
Negates a matrix.
| |
SetColumn |
Sets a column from a Vector4F.
| |
SetRow |
Sets a row from a Vector4F.
| |
Subtract |
Subtracts two matrices.
| |
ToArray1D |
Converts this matrix to an array of float values.
| |
ToArray2D |
Converts this Matrix44F to a 2-dimensional float array.
| |
ToArrayJagged |
Converts this Matrix44F to a jagged float array.
| |
ToList |
Converts this matrix to a list of float values.
| |
ToMatrix44D |
Converts this Matrix44F to Matrix44D.
| |
ToMatrixF |
Converts this Matrix44F to MatrixF | |
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 Matrix44F (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 Matrix44F) |
Performs an conversion from Matrix (XNA Framework) to Matrix44F
(DigitalRune Mathematics).
| |
(Matrix44F to Single) |
Performs an explicit conversion from Matrix44F to a 2-dimensional
float array.
| |
(Matrix44F to Single) |
Performs an explicit conversion from Matrix44F to a jagged
float array.
| |
(Matrix44F to Matrix) |
Performs an conversion from Matrix44F (DigitalRune Mathematics) to
Matrix (XNA Framework).
| |
(Matrix44F to MatrixF) |
Performs an implicit conversion from Matrix44F to MatrixF.
| |
(Matrix44F to Matrix44D) |
Performs an implicit conversion from Matrix44F to Matrix44D.
| |
Inequality |
Tests if two matrices are not equal.
| |
Multiply(Single, Matrix44F) |
Multiplies a matrix by a scalar.
| |
Multiply(Matrix44F, Matrix44F) |
Multiplies two matrices.
| |
Multiply(Matrix44F, Vector4F) |
Multiplies the matrix with a column vector.
| |
Multiply(Matrix44F, Single) |
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 Matrix44F with all of its components set to one.
| |
Zero |
Returns a Matrix44F 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