C# 클래스 Box2DX.Common.Mat22

파일 보기 프로젝트 열기: KrugerHeavyIndustries/box2d-unity 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Col1 System.Vector2
Col2 System.Vector2

공개 메소드들

메소드 설명
GetAngle ( ) : float

Extract the angle from this matrix (assumed to be a rotation matrix).

GetInverse ( ) : Mat22

Compute the inverse of this matrix, such that inv(A) * A = identity.

Mat22 ( System.Vector2 c1, System.Vector2 c2 ) : System

Construct this matrix using columns.

Mat22 ( float angle ) : System

Construct this matrix using an angle. This matrix becomes an orthonormal rotation matrix.

Mat22 ( float a11, float a12, float a21, float a22 ) : System

Construct this matrix using scalars.

Multiply ( System.Vector2 vector ) : System.Vector2
Set ( System.Vector2 c1, System.Vector2 c2 ) : void

Initialize this matrix using columns.

Set ( float angle ) : void

Initialize this matrix using an angle. This matrix becomes an orthonormal rotation matrix.

Solve ( System.Vector2 b ) : System.Vector2

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.

operator ( ) : Mat22

메소드 상세

GetAngle() 공개 메소드

Extract the angle from this matrix (assumed to be a rotation matrix).
public GetAngle ( ) : float
리턴 float

GetInverse() 공개 메소드

Compute the inverse of this matrix, such that inv(A) * A = identity.
public GetInverse ( ) : Mat22
리턴 Mat22

Mat22() 공개 메소드

Construct this matrix using columns.
public Mat22 ( System.Vector2 c1, System.Vector2 c2 ) : System
c1 System.Vector2
c2 System.Vector2
리턴 System

Mat22() 공개 메소드

Construct this matrix using an angle. This matrix becomes an orthonormal rotation matrix.
public Mat22 ( float angle ) : System
angle float
리턴 System

Mat22() 공개 메소드

Construct this matrix using scalars.
public Mat22 ( float a11, float a12, float a21, float a22 ) : System
a11 float
a12 float
a21 float
a22 float
리턴 System

Multiply() 공개 메소드

public Multiply ( System.Vector2 vector ) : System.Vector2
vector System.Vector2
리턴 System.Vector2

Set() 공개 메소드

Initialize this matrix using columns.
public Set ( System.Vector2 c1, System.Vector2 c2 ) : void
c1 System.Vector2
c2 System.Vector2
리턴 void

Set() 공개 메소드

Initialize this matrix using an angle. This matrix becomes an orthonormal rotation matrix.
public Set ( float angle ) : void
angle float
리턴 void

Solve() 공개 메소드

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Solve ( System.Vector2 b ) : System.Vector2
b System.Vector2
리턴 System.Vector2

operator() 공개 정적인 메소드

public static operator ( ) : Mat22
리턴 Mat22

프로퍼티 상세

Col1 공개적으로 프로퍼티

public Vector2,System Col1
리턴 System.Vector2

Col2 공개적으로 프로퍼티

public Vector2,System Col2
리턴 System.Vector2