C# 클래스 Revit.SDK.Samples.SlabShapeEditing.CS.Matrix4

Matrix used to transform between ucs coordinate and world coordinate.
파일 보기 프로젝트 열기: AMEE/revit 1 사용 예제들

공개 메소드들

메소드 설명
Identity ( ) : void

Identity matrix

Inverse ( ) : Matrix4

get inverse matrix

Matrix4 ( ) : System

default constructor

Matrix4 ( Vector4 origin ) : System

ctor,translation matrix.

Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis ) : System

ctor,rotation matrix,origin at (0,0,0)

Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis, Vector4 origin ) : System

rotation and translation matrix constructor

Matrix4 ( double scale ) : System

scale matrix constructor

Multiply ( Matrix4 left, Matrix4 right ) : Matrix4

multiply matrix left and right

RotateX ( double angle ) : Matrix4

get a matrix used to rotate object specific angle on X direction

RotateY ( double angle ) : Matrix4

get a matrix used to rotate object specific angle on Y direction

RotateZ ( double angle ) : Matrix4

get a matrix used to rotate object specific angle on Z direction

RotationInverse ( ) : Matrix4

if m_matrix is a rotation matrix,this method can get the rotation inverse matrix.

ScaleInverse ( ) : Matrix4

if m_matrix is a scale matrix,this method can get the scale inverse matrix.

Transform ( Vector4 point ) : Vector4

transform point using this matrix

TranslationInverse ( ) : Matrix4

if this m_matrix is a translation matrix, this method can get the translation inverse matrix.

this ( int row, int column ) : double

indexer of matrix

메소드 상세

Identity() 공개 메소드

Identity matrix
public Identity ( ) : void
리턴 void

Inverse() 공개 메소드

get inverse matrix
public Inverse ( ) : Matrix4
리턴 Matrix4

Matrix4() 공개 메소드

default constructor
public Matrix4 ( ) : System
리턴 System

Matrix4() 공개 메소드

ctor,translation matrix.
public Matrix4 ( Vector4 origin ) : System
origin Vector4 origin of ucs in world coordinate
리턴 System

Matrix4() 공개 메소드

ctor,rotation matrix,origin at (0,0,0)
public Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis ) : System
xAxis Vector4 identity of x axis
yAxis Vector4 identity of y axis
zAxis Vector4 identity of z axis
리턴 System

Matrix4() 공개 메소드

rotation and translation matrix constructor
public Matrix4 ( Vector4 xAxis, Vector4 yAxis, Vector4 zAxis, Vector4 origin ) : System
xAxis Vector4 x Axis
yAxis Vector4 y Axis
zAxis Vector4 z Axis
origin Vector4 origin
리턴 System

Matrix4() 공개 메소드

scale matrix constructor
public Matrix4 ( double scale ) : System
scale double scale factor
리턴 System

Multiply() 공개 정적인 메소드

multiply matrix left and right
public static Multiply ( Matrix4 left, Matrix4 right ) : Matrix4
left Matrix4 left matrix
right Matrix4 right matrix
리턴 Matrix4

RotateX() 공개 정적인 메소드

get a matrix used to rotate object specific angle on X direction
public static RotateX ( double angle ) : Matrix4
angle double rotate angle
리턴 Matrix4

RotateY() 공개 정적인 메소드

get a matrix used to rotate object specific angle on Y direction
public static RotateY ( double angle ) : Matrix4
angle double rotate angle
리턴 Matrix4

RotateZ() 공개 정적인 메소드

get a matrix used to rotate object specific angle on Z direction
public static RotateZ ( double angle ) : Matrix4
angle double rotate angle
리턴 Matrix4

RotationInverse() 공개 메소드

if m_matrix is a rotation matrix,this method can get the rotation inverse matrix.
public RotationInverse ( ) : Matrix4
리턴 Matrix4

ScaleInverse() 공개 메소드

if m_matrix is a scale matrix,this method can get the scale inverse matrix.
public ScaleInverse ( ) : Matrix4
리턴 Matrix4

Transform() 공개 메소드

transform point using this matrix
public Transform ( Vector4 point ) : Vector4
point Vector4 point to be transformed
리턴 Vector4

TranslationInverse() 공개 메소드

if this m_matrix is a translation matrix, this method can get the translation inverse matrix.
public TranslationInverse ( ) : Matrix4
리턴 Matrix4

this() 공개 메소드

indexer of matrix
public this ( int row, int column ) : double
row int row number
column int column number
리턴 double