Class Matrix2f
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Matrix2f(Vector2f, Vector2f)
Declaration
public Matrix2f(Vector2f u, Vector2f v)
Parameters
Matrix2f(Vector2f, Vector2f, Boolean)
Declaration
public Matrix2f(Vector2f u, Vector2f v, bool columns)
Parameters
Matrix2f(Boolean)
Declaration
public Matrix2f(bool bIdentity)
Parameters
Type |
Name |
Description |
Boolean |
bIdentity |
|
Matrix2f(Single)
Declaration
public Matrix2f(float radians)
Parameters
Type |
Name |
Description |
Single |
radians |
|
Matrix2f(Single, Single)
Declaration
public Matrix2f(float m00, float m11)
Parameters
Matrix2f(Single, Single, Single, Single)
Declaration
public Matrix2f(float m00, float m01, float m10, float m11)
Parameters
Fields
Identity
Declaration
public static readonly Matrix2f Identity
Field Value
m00
Declaration
Field Value
m01
Declaration
Field Value
m10
Declaration
Field Value
m11
Declaration
Field Value
One
Declaration
public static readonly Matrix2f One
Field Value
Zero
Declaration
public static readonly Matrix2f Zero
Field Value
Properties
Determinant
Declaration
public float Determinant { get; }
Property Value
Methods
Adjoint()
Declaration
public Matrix2f Adjoint()
Returns
EigenDecomposition(ref Matrix2f, ref Matrix2f)
Declaration
public void EigenDecomposition(ref Matrix2f rot, ref Matrix2f diag)
Parameters
Declaration
public float ExtractAngle()
Returns
Inverse(Single)
Declaration
public Matrix2f Inverse(float epsilon = 0F)
Parameters
Type |
Name |
Description |
Single |
epsilon |
|
Returns
Orthonormalize()
Declaration
public void Orthonormalize()
Declaration
public float QForm(Vector2f u, Vector2f v)
Parameters
Returns
SetToDiagonal(Single, Single)
Declaration
public void SetToDiagonal(float m00, float m11)
Parameters
SetToRotationDeg(Single)
Declaration
public void SetToRotationDeg(float angleDeg)
Parameters
Type |
Name |
Description |
Single |
angleDeg |
|
SetToRotationRad(Single)
Declaration
public void SetToRotationRad(float angleRad)
Parameters
Type |
Name |
Description |
Single |
angleRad |
|
Transpose()
Declaration
public Matrix2f Transpose()
Returns
Operators
Addition(Matrix2f, Matrix2f)
Declaration
public static Matrix2f operator +(Matrix2f a, Matrix2f o)
Parameters
Returns
Addition(Matrix2f, Single)
Declaration
public static Matrix2f operator +(Matrix2f a, float f)
Parameters
Returns
Division(Matrix2f, Single)
Declaration
public static Matrix2f operator /(Matrix2f a, float f)
Parameters
Returns
Multiply(Matrix2f, Vector2f)
Declaration
public static Vector2f operator *(Matrix2f m, Vector2f v)
Parameters
Returns
Multiply(Matrix2f, Single)
Declaration
public static Matrix2f operator *(Matrix2f a, float f)
Parameters
Returns
Multiply(Vector2f, Matrix2f)
Declaration
public static Vector2f operator *(Vector2f v, Matrix2f m)
Parameters
Returns
Multiply(Single, Matrix2f)
Declaration
public static Matrix2f operator *(float f, Matrix2f a)
Parameters
Returns
Subtraction(Matrix2f, Matrix2f)
Declaration
public static Matrix2f operator -(Matrix2f a, Matrix2f o)
Parameters
Returns
Subtraction(Matrix2f, Single)
Declaration
public static Matrix2f operator -(Matrix2f a, float f)
Parameters
Returns
UnaryNegation(Matrix2f)
Declaration
public static Matrix2f operator -(Matrix2f v)
Parameters
Returns