C# 클래스 Sharpex2D.Math.Matrix2x3

파일 보기 프로젝트 열기: ThuCommix/Sharpex2D 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Identity Matrix2x3

공개 메소드들

메소드 설명
ApplyTo ( Vector2 point ) : Vector2

Applies this matrix to a point.

ApplyTo ( Vector2 points ) : Vector2[]

Applies this matrix to an array of vectors.

Invert ( ) : Matrix2x3

Returns the inverse matrix of this matrix.

Multiply ( Matrix2x3 left, Matrix2x3 right ) : Matrix2x3

Multiplies two matrices.

Rotation ( float angle ) : Matrix2x3

Creates a rotation matrix.

Scaling ( float factor ) : Matrix2x3

Creates a scaling matrix.

Scaling ( float factorX, float factorY ) : Matrix2x3

Creates a scaling matrix.

ShearingX ( float value ) : Matrix2x3

Creates a shearing matrix.

ShearingY ( float value ) : Matrix2x3

Creates a shearing matrix.

Translation ( Vector2 vector ) : Matrix2x3

Creates a translation matrix.

Translation ( float x, float y ) : Matrix2x3

Creates a translation matrix.

operator ( ) : Matrix2x3

Multiplies two matrices.

this ( int x, int y ) : float

Returns or sets the matrix element at the given Position.

비공개 메소드들

메소드 설명
Matrix2x3 ( ) : System

Initializes a new Matrix2x3 class.

MultiplyRow ( int row, float factor ) : void

Multiplies the rows.

SubtractRows ( int row1, int row2, float factor ) : void

Subtracts the rows.

SwapRows ( ) : void

Swaps the rows.

메소드 상세

ApplyTo() 공개 메소드

Applies this matrix to a point.
public ApplyTo ( Vector2 point ) : Vector2
point Vector2
리턴 Vector2

ApplyTo() 공개 메소드

Applies this matrix to an array of vectors.
public ApplyTo ( Vector2 points ) : Vector2[]
points Vector2
리턴 Vector2[]

Invert() 공개 메소드

Returns the inverse matrix of this matrix.
public Invert ( ) : Matrix2x3
리턴 Matrix2x3

Multiply() 공개 정적인 메소드

Multiplies two matrices.
public static Multiply ( Matrix2x3 left, Matrix2x3 right ) : Matrix2x3
left Matrix2x3 The left matrix.
right Matrix2x3 The right matrix.
리턴 Matrix2x3

Rotation() 공개 정적인 메소드

Creates a rotation matrix.
public static Rotation ( float angle ) : Matrix2x3
angle float The Angle.
리턴 Matrix2x3

Scaling() 공개 정적인 메소드

Creates a scaling matrix.
public static Scaling ( float factor ) : Matrix2x3
factor float The Factor.
리턴 Matrix2x3

Scaling() 공개 정적인 메소드

Creates a scaling matrix.
public static Scaling ( float factorX, float factorY ) : Matrix2x3
factorX float The X Factor.
factorY float The Y Factor.
리턴 Matrix2x3

ShearingX() 공개 정적인 메소드

Creates a shearing matrix.
public static ShearingX ( float value ) : Matrix2x3
value float The Value.
리턴 Matrix2x3

ShearingY() 공개 정적인 메소드

Creates a shearing matrix.
public static ShearingY ( float value ) : Matrix2x3
value float The Value.
리턴 Matrix2x3

Translation() 공개 정적인 메소드

Creates a translation matrix.
public static Translation ( Vector2 vector ) : Matrix2x3
vector Vector2 The Vector.
리턴 Matrix2x3

Translation() 공개 정적인 메소드

Creates a translation matrix.
public static Translation ( float x, float y ) : Matrix2x3
x float The X.
y float The Y.
리턴 Matrix2x3

operator() 공개 정적인 메소드

Multiplies two matrices.
public static operator ( ) : Matrix2x3
리턴 Matrix2x3

this() 공개 메소드

Returns or sets the matrix element at the given Position.
public this ( int x, int y ) : float
x int
y int
리턴 float

프로퍼티 상세

Identity 공개적으로 정적으로 프로퍼티

The identity matrix.
public static Matrix2x3,Sharpex2D.Math Identity
리턴 Matrix2x3