Click or drag to resize

Matrix2 Methods

The Matrix2 type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAdd
Adds two matricies.
Public methodEquals(Object)
Determines whether the specified object is equal to the current instance of Matrix2.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Matrix2, Double)
Determines whether the specified matrix is equal to the current instance of Matrix2 with a given precision.
Public methodEquals(Matrix2, Double)
Determines whether the specified matrix is equal to the current instance of Matrix2 with a given precision.
Public methodStatic memberFromRotate(Radian)
Creates a rotation matrix.
Public methodStatic memberFromRotate(Radian, Matrix2)
Creates a rotation matrix.
Public methodStatic memberFromScale(Vector2)
Creates a scale matrix with the specified Vector2 object.
Public methodStatic memberFromScale(Vector2, Matrix2)
Creates a scale matrix with the specified Vector2 object.
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetInverse
Inverts the current instance of Matrix2 if it is invertible and returns the result.
Public methodGetInverse(Matrix2)
Inverts the current instance of Matrix2 if it is invertible.
Public methodGetTrace
Gets the trace of the matrix, the sum of the values along the diagonal.
Public methodGetTranspose
Returns the transpose of the current instance of Matrix2.
Public methodGetTranspose(Matrix2)
Calculates the transpose of the current instance of Matrix2.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInverse
Inverts the current instance of Matrix2 and determines whether the matrix is invertible. Determines whether the current instance of Matrix2 is invertible and, if so, inverts this matrix.
Public methodStatic memberMultiply(Double, Matrix2, Matrix2)
Multiplies a matrix by a given value.
Public methodStatic memberMultiply(Matrix2, Matrix2, Matrix2)
Multiplies two matrices.
Public methodStatic memberMultiply(Matrix2, Vector2, Vector2)
Multiplies a matrix by a given Vector2 structure.
Public methodStatic memberMultiply(Matrix2, Double, Matrix2)
Multiplies a matrix by a given value.
Public methodStatic memberMultiply(Vector2, Matrix2, Vector2)
Multiplies a matrix by a given Vector2 structure.
Public methodStatic memberNegate
Negates a matrix.
Public methodStatic memberParse
Converts a string representation of a matrix into the equivalent Matrix2 structure.
Public methodStatic memberSubtract
Subtracts two matricies.
Public methodToMatrix2F
Converts the current instance of Matrix2 into the equivalent Matrix2F structure.
Public methodToMatrix2F(Matrix2F)
Converts the current instance of Matrix2 into the equivalent Matrix2F structure.
Public methodToMatrix3
Converts the current instance of Matrix2 into the equivalent Matrix3 structure.
Public methodToMatrix3(Matrix3)
Converts the current instance of Matrix2 into the equivalent Matrix3 structure.
Public methodToString
Returns a String that represents the current instance of Matrix2.
(Overrides ValueTypeToString.)
Public methodTranspose
Transposes the matrix.
Top
Extension Methods
See Also