Struct Matrix3d
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
Constructors
Matrix3d(Vector3d, Vector3d, Vector3d, Boolean)
Declaration
public Matrix3d(Vector3d v1, Vector3d v2, Vector3d v3, bool bRows)
Parameters
Matrix3d(ref Vector3d, ref Vector3d)
Construct outer-product of u*transpose(v) of u and v
result is that Mij = u_i * v_j
Declaration
public Matrix3d(ref Vector3d u, ref Vector3d v)
Parameters
Matrix3d(ref Vector3d, ref Vector3d, ref Vector3d, Boolean)
Declaration
public Matrix3d(ref Vector3d v1, ref Vector3d v2, ref Vector3d v3, bool bRows)
Parameters
Matrix3d(Boolean)
Declaration
public Matrix3d(bool bIdentity)
Parameters
Type |
Name |
Description |
Boolean |
bIdentity |
|
Matrix3d(Double, Double, Double)
Declaration
public Matrix3d(double m00, double m11, double m22)
Parameters
Matrix3d(Double, Double, Double, Double, Double, Double, Double, Double, Double)
Declaration
public Matrix3d(double m00, double m01, double m02, double m10, double m11, double m12, double m20, double m21, double m22)
Parameters
Matrix3d(Double[])
Declaration
public Matrix3d(double[] mat)
Parameters
Type |
Name |
Description |
Double[] |
mat |
|
Matrix3d(Double[,])
Declaration
public Matrix3d(double[, ] mat)
Parameters
Type |
Name |
Description |
Double[,] |
mat |
|
Matrix3d(Func<Int32, Double>)
Declaration
public Matrix3d(Func<int, double> matBufferF)
Parameters
Matrix3d(Func<Int32, Int32, Double>)
Declaration
public Matrix3d(Func<int, int, double> matF)
Parameters
Matrix3d(Single[])
Declaration
public Matrix3d(float[] mat)
Parameters
Type |
Name |
Description |
Single[] |
mat |
|
Matrix3d(Single[,])
Declaration
public Matrix3d(float[, ] mat)
Parameters
Type |
Name |
Description |
Single[,] |
mat |
|
Fields
Identity
Declaration
public static readonly Matrix3d Identity
Field Value
Row0
Declaration
Field Value
Row1
Declaration
Field Value
Row2
Declaration
Field Value
Zero
Declaration
public static readonly Matrix3d Zero
Field Value
Properties
Determinant
Declaration
public double Determinant { get; }
Property Value
Item[Int32]
Declaration
public double this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Item[Int32, Int32]
Declaration
public double this[int r, int c] { get; set; }
Parameters
Property Value
Methods
AxisAngleD(Vector3d, Double)
Declaration
public static Matrix3d AxisAngleD(Vector3d axis, double angleDeg)
Parameters
Returns
Column(Int32)
Declaration
public Vector3d Column(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
EpsilonEqual(Matrix3d, Double)
Declaration
public bool EpsilonEqual(Matrix3d m2, double epsilon)
Parameters
Returns
InnerProduct(ref Matrix3d)
Declaration
public double InnerProduct(ref Matrix3d m2)
Parameters
Returns
Inverse()
Declaration
public Matrix3d Inverse()
Returns
Multiply(ref Vector3d)
Declaration
public Vector3d Multiply(ref Vector3d v)
Parameters
Returns
Multiply(ref Vector3d, ref Vector3d)
Declaration
public void Multiply(ref Vector3d v, ref Vector3d vOut)
Parameters
Row(Int32)
Declaration
public Vector3d Row(int i)
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Returns
ToBuffer()
Declaration
public double[] ToBuffer()
Returns
ToBuffer(Double[])
Declaration
public void ToBuffer(double[] buf)
Parameters
Type |
Name |
Description |
Double[] |
buf |
|
ToQuaternion()
Declaration
public Quaterniond 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 Matrix3d Transpose()
Returns
Operators
Addition(Matrix3d, Matrix3d)
Declaration
public static Matrix3d operator +(Matrix3d mat1, Matrix3d mat2)
Parameters
Returns
Multiply(Matrix3d, Matrix3d)
Declaration
public static Matrix3d operator *(Matrix3d mat1, Matrix3d mat2)
Parameters
Returns
Multiply(Matrix3d, Vector3d)
Declaration
public static Vector3d operator *(Matrix3d mat, Vector3d v)
Parameters
Returns
Multiply(Matrix3d, Double)
Declaration
public static Matrix3d operator *(Matrix3d mat, double f)
Parameters
Returns
Multiply(Double, Matrix3d)
Declaration
public static Matrix3d operator *(double f, Matrix3d mat)
Parameters
Returns
Subtraction(Matrix3d, Matrix3d)
Declaration
public static Matrix3d operator -(Matrix3d mat1, Matrix3d mat2)
Parameters
Returns