Class T3DMatrix
Inheritance
object
T3DMatrix
Namespace: SprutCAMTech.VecMatrLib
Assembly: SprutCAMTech.VecMatrLib.dll
Syntax
public sealed class T3DMatrix : ValueType
Constructors
T3DMatrix(T3DPoint, T3DPoint, T3DPoint, T3DPoint, double, double, double, double)
Declaration
public T3DMatrix(T3DPoint vT, T3DPoint vX, T3DPoint vY, T3DPoint vZ, double A, double B, double C, double D)
Parameters
T3DMatrix(T3DPoint, T3DPoint, T3DPoint, T3DPoint)
Declaration
public T3DMatrix(T3DPoint vT, T3DPoint vX, T3DPoint vY, T3DPoint vZ)
Parameters
T3DMatrix(T3DPoint, T3DPoint, T3DPoint)
Declaration
public T3DMatrix(T3DPoint vT, T3DPoint vZ, T3DPoint vX)
Parameters
T3DMatrix(T3DPoint, T3DPoint, double)
Declaration
public T3DMatrix(T3DPoint vT, T3DPoint Axis, double Angle)
Parameters
T3DMatrix(T3DPoint, T3DPoint)
Declaration
public T3DMatrix(T3DPoint vT, T3DPoint vZ)
Parameters
T3DMatrix(T3DPoint)
Declaration
public T3DMatrix(T3DPoint vT)
Parameters
Fields
A
Declaration
Field Value
B
Declaration
Field Value
C
Declaration
Field Value
D
Declaration
Field Value
Unit
Declaration
public static T3DMatrix Unit
Field Value
vT
Declaration
Field Value
vX
Declaration
Field Value
vY
Declaration
Field Value
vZ
Declaration
Field Value
Zero
Declaration
public static T3DMatrix Zero
Field Value
Properties
this[int, int]
Declaration
public double this[int row, int col] { get; }
Parameters
Type |
Name |
Description |
int |
row |
|
int |
col |
|
Property Value
Methods
FromAxisAngle(T3DPoint, T3DPoint)
Declaration
public static T3DMatrix FromAxisAngle(T3DPoint vT, T3DPoint axis_x_angle)
Parameters
Returns
GetLocalMatrix(T3DMatrix)
Declaration
public T3DMatrix GetLocalMatrix(T3DMatrix M)
Parameters
Returns
GetLocalPoint(T3DPoint)
Declaration
public T3DPoint GetLocalPoint(T3DPoint p)
Parameters
Returns
GetLocalVector(T3DPoint)
Declaration
public T3DPoint GetLocalVector(T3DPoint v)
Parameters
Returns
GetOrt(int)
Declaration
public T3DPoint GetOrt(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
Returns
InverseMatrix()
Declaration
public T3DMatrix InverseMatrix()
Returns
MakeRotMatrix(double, T3DPoint, T3DPoint)
Declaration
public static T3DMatrix MakeRotMatrix(double ang, T3DPoint normal, T3DPoint center)
Parameters
Returns
MakeRotMatrix(double, int, T3DPoint)
Declaration
public static T3DMatrix MakeRotMatrix(double ang, int axis, T3DPoint center)
Parameters
Type |
Name |
Description |
double |
ang |
|
int |
axis |
|
T3DPoint |
center |
|
Returns
MakeShiftMatrix(T3DPoint)
Declaration
public static T3DMatrix MakeShiftMatrix(T3DPoint shift)
Parameters
Returns
Refine(T3DMatrix, double)
Declaration
public static T3DMatrix Refine(T3DMatrix M, double tolerance)
Parameters
Type |
Name |
Description |
T3DMatrix |
M |
|
double |
tolerance |
|
Returns
Refine(T3DMatrix)
Declaration
public static T3DMatrix Refine(T3DMatrix M)
Parameters
Returns
SLerp(T3DMatrix, T3DMatrix, double)
Declaration
public static T3DMatrix SLerp(T3DMatrix a, T3DMatrix b, double t)
Parameters
Returns
ToAxisAngle(out T3DPoint, out T3DPoint, out double)
Declaration
public void ToAxisAngle(out T3DPoint vT, out T3DPoint Axis, out double Angle)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Declaration
public T3DMatrix TransformMatrix(T3DMatrix M)
Parameters
Returns
Declaration
public T3DPoint TransformPoint(T3DPoint p)
Parameters
Returns
Declaration
public T3DPoint TransformVector(T3DPoint v)
Parameters
Returns
Operators
operator *(T3DMatrix, T3DMatrix)
Declaration
public static T3DMatrix operator *(T3DMatrix m1, T3DMatrix m2)
Parameters
Returns