C# 클래스 SWFProcessing.ModellingUtils.Geom.Matrix

A 2D matrix
파일 보기 프로젝트 열기: WeeWorld/Swiffotron 1 사용 예제들

공개 메소드들

메소드 설명
Apply ( Matrix m ) : void
Copy ( ) : Matrix
Matrix ( ) : System

Initializes a new instance of an identity matrix

Matrix ( float tx, float ty ) : System

Initializes a new instance of an translation matrix

Matrix ( float tx, float ty, float sx, float sy, float rx, float ry ) : System

Initializes a new instance of a matrix

RotateToDegrees ( double angle ) : void
ScaleNoTranslate ( float xscale, float yscale ) : void
ToString ( ) : string

Renders the matrix as a string. Used only in test/debug console output.

Translate ( float tx, float ty ) : void

메소드 상세

Apply() 공개 메소드

public Apply ( Matrix m ) : void
m Matrix
리턴 void

Copy() 공개 메소드

public Copy ( ) : Matrix
리턴 Matrix

Matrix() 공개 메소드

Initializes a new instance of an identity matrix
public Matrix ( ) : System
리턴 System

Matrix() 공개 메소드

Initializes a new instance of an translation matrix
public Matrix ( float tx, float ty ) : System
tx float
ty float
리턴 System

Matrix() 공개 메소드

Initializes a new instance of a matrix
public Matrix ( float tx, float ty, float sx, float sy, float rx, float ry ) : System
tx float Translate X value
ty float Translate Y value
sx float Scale X value
sy float Scale Y value
rx float Rotate (Skew) X value
ry float Rotate (Skew) Y value
리턴 System

RotateToDegrees() 공개 메소드

public RotateToDegrees ( double angle ) : void
angle double
리턴 void

ScaleNoTranslate() 공개 메소드

public ScaleNoTranslate ( float xscale, float yscale ) : void
xscale float
yscale float
리턴 void

ToString() 공개 메소드

Renders the matrix as a string. Used only in test/debug console output.
public ToString ( ) : string
리턴 string

Translate() 공개 메소드

public Translate ( float tx, float ty ) : void
tx float
ty float
리턴 void