C# Класс Box2DX.Common.Mat33

A 3-by-3 matrix. Stored in column-major order.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Col1 System.Vector3
Col2 System.Vector3
Col3 System.Vector3

Открытые методы

Метод Описание
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.

Описание методов

Mat33() публичный метод

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
Результат System

SetZero() публичный метод

Set this matrix to all zeros.
public SetZero ( ) : void
Результат void

Solve22() публичный метод

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
Результат System.Vector2

Solve33() публичный метод

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
Результат System.Vector3

Описание свойств

Col1 публичное свойство

public Vector3,System Col1
Результат System.Vector3

Col2 публичное свойство

public Vector3,System Col2
Результат System.Vector3

Col3 публичное свойство

public Vector3,System Col3
Результат System.Vector3