Skip to main content
Namespace: VM.Managed
Assembly: VMAppCore.dll
This class is to represent the matrix of transform.

Inheritance

object ← MatrixBase ← TMatrix

Implements

IOMatrix

Extension Methods

LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)

Constructors

TMatrix(double[])

Initializes a new instance of the TMatrix class.

Parameters

arr double[] The data of orientation.

TMatrix(Plane, VectorBase, VectorBase, VectorBase)

Initializes a new instance of the TMatrix class.

Parameters

type Plane The type of plane. vecMaster VectorBase The vector for master. vecSlave VectorBase The vector for slave. vecPos VectorBase The position.

TMatrix(Plane, VectorBase, VectorBase)

Initializes a new instance of the TMatrix class.

Parameters

type Plane The type of plane. vecMaster VectorBase The vector for master. vecSlave VectorBase The vector for slave.

TMatrix(TMatrix)

Initializes a new instance of the TMatrix class.

Parameters

mat TMatrix The matrix of transform

TMatrix()

Initializes a new instance of the TMatrix class.

TMatrix(SerializationInfo, StreamingContext)

Parameters

info SerializationInfo context StreamingContext

Properties

Array

Gets or sets the data of OMatrix.

Property Value

double[]

InverseTransformationMatrix

Gets the matrix of inverse transform.

Property Value

TMatrix

Orientation

Gets the matrix of orientation.

Property Value

OMatrix

Position

Gets or sets the position of transform.

Property Value

VectorBase

XVector

Gets the XVector.

Property Value

VectorBase

YVector

Gets the YVector.

Property Value

VectorBase

ZVector

Gets the ZVector.

Property Value

VectorBase

this[uint, uint]

Property Value

double

this[Coordinate, Coordinate]

Property Value

double

this[uint]

Property Value

VectorBase

this[Coordinate]

Property Value

VectorBase

Methods

Clone()

Returns

object

GetArray()

Returns

double[]

GetDirectionVector(uint)

Get the direction vector for axis.

Parameters

axis uint The type of axis.

Returns

VectorBase The direction vector.

GetDirectionVector(Coordinate)

Get the direction vector for axis.

Parameters

axis Coordinate The type of axis.

Returns

VectorBase The direction vector.

GetObjectData(SerializationInfo, StreamingContext)

Parameters

info SerializationInfo __unnamed001 StreamingContext

GetSchema()

Returns

XmlSchema

Initialize()

Initializes a instance of OMatrix.

Normalize()

Nomalize a instance of OMatrix.

ReadXml(XmlReader)

Parameters

reader XmlReader

RotateAxisDeg(VectorBase, double)

To rotate counterclockwise for axis.

Parameters

axis VectorBase The rotation axis. dAngle double The degree.

RotateAxisDeg(uint, double)

To rotate counterclockwise for coordinate.

Parameters

nCoord uint The rotation coordinate. dAngle double The degree.

RotateAxisDeg(Coordinate, double)

To rotate counterclockwise for coordinate.

Parameters

c Coordinate The rotation coordinate. dAngle double The degree.

RotateAxisRad(VectorBase, double)

To rotate counterclockwise for axis.

Parameters

axis VectorBase The rotation axis. dAngle double The radian.

RotateAxisRad(uint, double)

To rotate counterclockwise for coordinate.

Parameters

nCoord uint The rotation coordinate. dAngle double The radian.

RotateAxisRad(Coordinate, double)

To rotate counterclockwise for coordinate.

Parameters

c Coordinate The rotation coordinate. dAngle double The radian.

RotateXDeg(double)

To rotate counterclockwise for x-axis.

Parameters

dAngle double The degree.

RotateXRad(double)

To rotate counterclockwise for x-axis.

Parameters

dAngle double The radian.

RotateYDeg(double)

To rotate counterclockwise for y-axis.

Parameters

dAngle double The degree.

RotateYRad(double)

To rotate counterclockwise for y-axis.

Parameters

dAngle double The radian.

RotateZDeg(double)

To rotate counterclockwise for z-axis.

Parameters

dAngle double The degree.

RotateZRad(double)

To rotate counterclockwise for z-axis.

Parameters

dAngle double The radian.

Set(double[])

Set data of transform.

Parameters

arr double[] The data of transform

Set(TMatrix)

Set Matrix of transform.

Parameters

mat TMatrix The matrix of transform

SetOrientation(double[])

Set data of orientation.

Parameters

arr double[] The data of orientation.

SetOrientation(OMatrix)

Set data of orientation.

Parameters

mat OMatrix The matrix of orientation.

SetOrientation(Plane, VectorBase, VectorBase)

Set data of orientation.

Parameters

type Plane The type of plane. vecMaster VectorBase The vector for master. vecSlave VectorBase The vector for slave.

SetOrientationEADeg(RotationAxes, double, double, double)

Set data of orientation for euler angle. Unit is degree.

Parameters

ea RotationAxes The type of euler angle. dAlpha double The alpha of euler angle. dBeta double The beta of euler angle. dGamma double The gamma of euler angle.

SetOrientationEARad(RotationAxes, double, double, double)

Set data of orientation for euler angle. Unit is radian.

Parameters

ea RotationAxes The type of euler angle. dAlpha double The alpha of euler angle. dBeta double The beta of euler angle. dGamma double The gamma of euler angle.

SetOrientationFixedAngleDeg(RotationAxes, double, double, double)

Set data of orientation for fixed angle. Unit is degree.

Parameters

ea RotationAxes The type of fixed angle. dAlpha double The alpha of fixed angle. dBeta double The beta of fixed angle. dGamma double The gamma of fixed angle.

SetOrientationFixedAngleRad(RotationAxes, double, double, double)

Set data of orientation for fixed angle. Unit is radian.

Parameters

ea RotationAxes The type of fixed angle. dAlpha double The alpha of fixed angle. dBeta double The beta of fixed angle. dGamma double The gamma of fixed angle.

Translate(double, double, double)

To translate for position.

Parameters

dX double The value of X dY double The value of y dZ double The value of z

Translate(VectorBase)

To translate for position.

Parameters

vec VectorBase The vector

TransposeOrientation()

Transposed rows and columns of the matrix.

WriteXml(XmlWriter)

Parameters

writer XmlWriter

op_MultiplicationAssignment(VectorBase, TMatrix)

Parameters

vec VectorBase mat TMatrix

Returns

VectorBase

op_MultiplicationAssignment(TMatrix, TMatrix)

Parameters

mat1 TMatrix mat2 TMatrix

Returns

TMatrix

Operators

operator ==(TMatrix, TMatrix)

Parameters

mat1 TMatrix mat2 TMatrix

Returns

bool

implicit operator TMatrix(TMatrix)

Parameters

mat TMatrix

Returns

TMatrix

implicit operator TMatrix(TMatrix)

Parameters

mat TMatrix

Returns

TMatrix

operator !=(TMatrix, TMatrix)

Parameters

mat1 TMatrix mat2 TMatrix

Returns

bool

operator *(VectorBase, TMatrix)

Parameters

vec VectorBase mat TMatrix

Returns

VectorBase

operator *(TMatrix, TMatrix)

Parameters

mat1 TMatrix mat2 TMatrix

Returns

TMatrix