Struct Matrix3f
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Matrix3f(Vector3f, Vector3f, Vector3f, Boolean)
Declaration
public Matrix3f(Vector3f v1, Vector3f v2, Vector3f v3, bool bRows)
Parameters
Matrix3f(Boolean)
Declaration
public Matrix3f(bool bIdentity)
Parameters
Type |
Name |
Description |
Boolean |
bIdentity |
|
Matrix3f(Double[])
Declaration
public Matrix3f(double[] mat)
Parameters
Type |
Name |
Description |
Double[] |
mat |
|
Matrix3f(Double[,])
Declaration
public Matrix3f(double[, ] mat)
Parameters
Type |
Name |
Description |
Double[,] |
mat |
|
Matrix3f(Func<Int32, Int32, Single>)
Declaration
public Matrix3f(Func<int, int, float> matF)
Parameters
Matrix3f(Func<Int32, Single>)
Declaration
public Matrix3f(Func<int, float> matBufferF)
Parameters
Matrix3f(Single, Single, Single)
Declaration
public Matrix3f(float m00, float m11, float m22)
Parameters
Matrix3f(Single, Single, Single, Single, Single, Single, Single, Single, Single)
Declaration
public Matrix3f(float m00, float m01, float m02, float m10, float m11, float m12, float m20, float m21, float m22)
Parameters
Matrix3f(Single[])
Declaration
public Matrix3f(float[] mat)
Parameters
Type |
Name |
Description |
Single[] |
mat |
|
Matrix3f(Single[,])
Declaration
public Matrix3f(float[, ] mat)
Parameters
Type |
Name |
Description |
Single[,] |
mat |
|
Fields
Identity
Declaration
public static readonly Matrix3f Identity
Field Value
Row0
Declaration
Field Value
Row1
Declaration
Field Value
Row2
Declaration
Field Value
Zero
Declaration
public static readonly Matrix3f Zero
Field Value
Properties
Determinant
Declaration
public float Determinant { get; }
Property Value
Item[Int32]
Declaration
public float this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[Int32, Int32]
Declaration
public float this[int r, int c] { get; set; }
Parameters
Property Value
Methods
AxisAngleD(Vector3f, Single)
Declaration
public static Matrix3f AxisAngleD(Vector3f axis, float angleDeg)
Parameters
Returns
Column(Int32)
Declaration
public Vector3f Column(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
EpsilonEqual(Matrix3f, Single)
Declaration
public bool EpsilonEqual(Matrix3f m2, float epsilon)
Parameters
Returns
Inverse()
Declaration
public Matrix3f Inverse()
Returns
Multiply(ref Vector3f)
Declaration
public Vector3f Multiply(ref Vector3f v)
Parameters
Returns
Multiply(ref Vector3f, ref Vector3f)
Declaration
public void Multiply(ref Vector3f v, ref Vector3f vOut)
Parameters
Row(Int32)
Declaration
public Vector3f Row(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
ToBuffer()
Declaration
public float[] ToBuffer()
Returns
ToBuffer(Single[])
Declaration
public void ToBuffer(float[] buf)
Parameters
Type |
Name |
Description |
Single[] |
buf |
|
ToQuaternion()
Declaration
public Quaternionf ToQuaternion()
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
ToString(String)
Declaration
public string ToString(string fmt)
Parameters
Type |
Name |
Description |
String |
fmt |
|
Returns
Transpose()
Declaration
public Matrix3f Transpose()
Returns
Operators
Addition(Matrix3f, Matrix3f)
Declaration
public static Matrix3f operator +(Matrix3f mat1, Matrix3f mat2)
Parameters
Returns
Multiply(Matrix3f, Matrix3f)
Declaration
public static Matrix3f operator *(Matrix3f mat1, Matrix3f mat2)
Parameters
Returns
Multiply(Matrix3f, Vector3f)
Declaration
public static Vector3f operator *(Matrix3f mat, Vector3f v)
Parameters
Returns
Multiply(Matrix3f, Single)
Declaration
public static Matrix3f operator *(Matrix3f mat, float f)
Parameters
Returns
Multiply(Single, Matrix3f)
Declaration
public static Matrix3f operator *(float f, Matrix3f mat)
Parameters
Returns
Subtraction(Matrix3f, Matrix3f)
Declaration
public static Matrix3f operator -(Matrix3f mat1, Matrix3f mat2)
Parameters
Returns