C# Class Box2DX.Common.Mat33

A 3-by-3 matrix. Stored in column-major order.
Afficher le fichier Open project: KrugerHeavyIndustries/box2d-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
Col1 System.Vector3
Col2 System.Vector3
Col3 System.Vector3

Méthodes publiques

Méthode Description
Mat33 ( System.Vector3 c1, System.Vector3 c2, System.Vector3 c3 ) : System

Construct this matrix using columns.

SetZero ( ) : void

Set this matrix to all zeros.

Solve22 ( 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. Solve only the upper 2-by-2 matrix equation.

Solve33 ( System.Vector3 b ) : System.Vector3

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

Method Details

Mat33() public méthode

Construct this matrix using columns.
public Mat33 ( System.Vector3 c1, System.Vector3 c2, System.Vector3 c3 ) : System
c1 System.Vector3
c2 System.Vector3
c3 System.Vector3
Résultat System

SetZero() public méthode

Set this matrix to all zeros.
public SetZero ( ) : void
Résultat void

Solve22() public méthode

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases. Solve only the upper 2-by-2 matrix equation.
public Solve22 ( System.Vector2 b ) : System.Vector2
b System.Vector2
Résultat System.Vector2

Solve33() public méthode

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Solve33 ( System.Vector3 b ) : System.Vector3
b System.Vector3
Résultat System.Vector3

Property Details

Col1 public_oe property

public Vector3,System Col1
Résultat System.Vector3

Col2 public_oe property

public Vector3,System Col2
Résultat System.Vector3

Col3 public_oe property

public Vector3,System Col3
Résultat System.Vector3