C# Class Box2D.Common.Mat33

Show file Open project: gerich-home/box2dnet Class Usage Examples

Public Properties

Property Type Description
Ex Vec3
Ey Vec3
Ez Vec3
Identity Mat33

Public Methods

Method Description
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetInverse22 ( Mat33 m ) : void
GetSymInverse33 ( Mat33 m ) : void
Mat33 ( ) : System
Mat33 ( Vec3 argCol1, Vec3 argCol2, Vec3 argCol3 ) : System
Mul ( Mat33 a, Vec3 v ) : Vec3
Mul22 ( Mat33 a, Vec2 v ) : Vec2
Mul22ToOut ( Mat33 a, Vec2 v, Vec2 result ) : void
Mul22ToOutUnsafe ( Mat33 a, Vec2 v, Vec2 result ) : void
MulToOut ( Mat33 a, Vec3 v, Vec3 result ) : void
MulToOutUnsafe ( Mat33 a, Vec3 v, Vec3 result ) : void
SetZero ( ) : void
Solve22 ( Vec2 b ) : Vec2

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

Solve22ToOut ( Vec2 b, Vec2 result ) : void

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

Solve33 ( Vec3 b ) : Vec3

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

Solve33ToOut ( Vec3 b, Vec3 result ) : void

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

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetInverse22() public method

public GetInverse22 ( Mat33 m ) : void
m Mat33
return void

GetSymInverse33() public method

public GetSymInverse33 ( Mat33 m ) : void
m Mat33
return void

Mat33() public method

public Mat33 ( ) : System
return System

Mat33() public method

public Mat33 ( Vec3 argCol1, Vec3 argCol2, Vec3 argCol3 ) : System
argCol1 Vec3
argCol2 Vec3
argCol3 Vec3
return System

Mul() public static method

public static Mul ( Mat33 a, Vec3 v ) : Vec3
a Mat33
v Vec3
return Vec3

Mul22() public static method

public static Mul22 ( Mat33 a, Vec2 v ) : Vec2
a Mat33
v Vec2
return Vec2

Mul22ToOut() public static method

public static Mul22ToOut ( Mat33 a, Vec2 v, Vec2 result ) : void
a Mat33
v Vec2
result Vec2
return void

Mul22ToOutUnsafe() public static method

public static Mul22ToOutUnsafe ( Mat33 a, Vec2 v, Vec2 result ) : void
a Mat33
v Vec2
result Vec2
return void

MulToOut() public static method

public static MulToOut ( Mat33 a, Vec3 v, Vec3 result ) : void
a Mat33
v Vec3
result Vec3
return void

MulToOutUnsafe() public static method

public static MulToOutUnsafe ( Mat33 a, Vec3 v, Vec3 result ) : void
a Mat33
v Vec3
result Vec3
return void

SetZero() public method

public SetZero ( ) : void
return void

Solve22() public method

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

Solve22ToOut() public method

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Solve22ToOut ( Vec2 b, Vec2 result ) : void
b Vec2
result Vec2
return void

Solve33() public method

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

Solve33ToOut() public method

Solve A * x = b, where b is a column vector. This is more efficient than computing the inverse in one-shot cases.
public Solve33ToOut ( Vec3 b, Vec3 result ) : void
b Vec3
result Vec3 the result
return void

Property Details

Ex public property

public Vec3,Box2D.Common Ex
return Vec3

Ey public property

public Vec3,Box2D.Common Ey
return Vec3

Ez public property

public Vec3,Box2D.Common Ez
return Vec3

Identity public static property

public static Mat33,Box2D.Common Identity
return Mat33