# Matrix3F Structure

A structure encapsulating a single precision 3x3 matrix.

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
`public struct Matrix3F`

The Matrix3F type exposes the following members.

Constructors
NameDescription
Matrix3F(Matrix3F)
Constructs a matrix with another specified Matrix3F object.
Matrix3F(Vector3F, Vector3F, Vector3F)
Constructs a matrix with the specified Vector3F elements, which are the corresponding rows of the matrix.
Matrix3F(Single, Single, Single, Single, Single, Single, Single, Single, Single)
Constructs a matrix with the given individual elements.
Top
Properties
NameDescription
ItemInt32
Gets or sets the row of the current instance of Matrix3F at the specified index.
ItemInt32, Int32
Gets or sets the component at the specified index.
Top
Methods
NameDescription
Decompose(Matrix3F, Vector3F)
Decomposes a matrix into a rotation and scale.
Decompose(QuaternionF, Vector3F)
Decomposes a matrix into a rotation and scale.
DecomposeScale
DecomposeScaleMaxComponent
Equals(Object)
Determines whether the specified object is equal to the current instance of Matrix3F.
(Overrides ValueTypeEquals(Object).)
Equals(Matrix3F, Single)
Determines whether the specified matrix is equal to the current instance of Matrix3F with a given precision.
Equals(Matrix3F, Single)
Determines whether the specified matrix is equal to the current instance of Matrix3F with a given precision.
Creates a matrix that rotates around the x-axis.
Creates a matrix that rotates around the x-axis.
Creates a matrix that rotates around the y-axis.
Creates a matrix that rotates around the y-axis.
Creates a matrix that rotates around the z-axis.
Creates a matrix that rotates around the z-axis.
FromScale(Single)
Creates a scale matrix with the specified Single value.
FromScale(Vector3F)
Creates a scale matrix with the specified Vector3F object.
FromScale(Single, Matrix3F)
Creates a scale matrix with the specified Single value.
FromScale(Vector3F, Matrix3F)
Creates a scale matrix with the specified Vector3F object.
GetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
GetInverse
Inverts the current instance of Matrix3F if it is invertible and returns the result.
GetInverse(Matrix3F)
Inverts the current instance of Matrix3F if it is invertible.
GetTrace
Gets the trace of the matrix, the sum of the values along the diagonal.
GetTranspose
Returns the transpose of the current instance of Matrix3F.
GetTranspose(Matrix3F)
Calculates the transpose of the current instance of Matrix3F.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Inverse
Inverts the current instance of Matrix3F and determines whether the matrix is invertible. Determines whether the current instance of Matrix3F is invertible and, if so, inverts this matrix.
LookAt(Vector3F, Vector3F)
Creates a look-at matrix.
LookAt(Vector3F, Vector3F, Matrix3F)
Creates a look-at matrix.
Multiply(Single, Matrix3F, Matrix3F)
Multiplies a matrix by a given value.
Multiply(Matrix3F, Matrix3F, Matrix3F)
Multiplies two matrices.
Multiply(Matrix3F, Vector3F, Vector3F)
Multiplies a matrix by a given Vector3 structure.
Multiply(Matrix3F, Single, Matrix3F)
Multiplies a matrix by a given value.
Multiply(Vector3F, Matrix3F, Vector3F)
Multiplies a matrix by a given Vector3 structure.
Negate
Negates a matrix.
Parse
Converts a string representation of a matrix into the equivalent Matrix3F structure.
QDUDecomposition
Decomposites the matrix by Gram-Schmidt orthogonalization algorithm (the QR algorithm).
Subtract
Subtracts two matricies.
ToAngles
Converts the current instance of Matrix3F to Euler angles.
ToAngles(AnglesF)
Converts the current instance of Matrix3F to Euler angles.
ToMatrix3
Converts the current instance of Matrix3F into the equivalent Matrix3 structure.
ToMatrix3(Matrix3)
Converts the current instance of Matrix3F into the equivalent Matrix3 structure.
ToMatrix4
Converts the current instance of Matrix3F into the equivalent Matrix4F structure.
ToMatrix4(Matrix4F)
Converts the current instance of Matrix3F into the equivalent Matrix4F structure.
ToQuaternion
Converts the current instance of Matrix3F into the equivalent QuaternionF structure.
ToQuaternion(QuaternionF)
Converts the current instance of Matrix3F into the equivalent QuaternionF structure.
ToString
Returns a String that represents the current instance of Matrix3F.
(Overrides ValueTypeToString.)
Transpose
Transposes the matrix.
Top
Operators
NameDescription
Equality
Determines whether two given matricies are equal.
(Matrix3F to Matrix3)
Implicit conversion from Matrix3F type to Matrix3 type for given value.
Inequality
Determines whether two given matricies are unequal.
Multiply(Single, Matrix3F)
Multiplies a matrix by a given value.
Multiply(Matrix3F, Matrix3F)
Multiplies two matrices.
Multiply(Matrix3F, Vector3F)
Multiplies a matrix by a given Vector3F structure.
Multiply(Matrix3F, Single)
Multiplies a matrix by a given value.
Multiply(Vector3F, Matrix3F)
Multiplies a matrix by a given Vector3F structure.
Subtraction
Subtracts two matricies.
UnaryNegation
Negates a matrix.
Top
Fields
NameDescription
Identity
The identity matrix.
Item0
The first row of the matrix.
Item1
The second row of the matrix.
Item2
The third row of the matrix.
Zero
The matrix with all of its components set to zero.
Top
Extension Methods
NameDescription
MethodInvoke
Calls the object method by name.
(Defined by ObjectEx.)