Class Mat33
java.lang.Object
org.jbox2d.common.Mat33
- All Implemented Interfaces:
java.io.Serializable
public class Mat33
extends java.lang.Object
implements java.io.Serializable
A 3-by-3 matrix. Stored in column-major order.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(java.lang.Object obj) voidvoidinthashCode()static final Vec3static final Vec2static final voidmul22ToOut(Mat33 A, Vec2 v, Vec2 out) static final voidmul22ToOutUnsafe(Mat33 A, Vec2 v, Vec2 out) static final voidstatic final voidmulToOutUnsafe(Mat33 A, Vec3 v, Vec3 out) voidsetZero()final Vec2Solve A * x = b, where b is a column vector.final voidsolve22ToOut(Vec2 b, Vec2 out) Solve A * x = b, where b is a column vector.final Vec3Solve A * x = b, where b is a column vector.final voidsolve33ToOut(Vec3 b, Vec3 out) Solve A * x = b, where b is a column vector.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
IDENTITY
-
ex
-
ey
-
ez
-
-
Constructor Details
-
Mat33
public Mat33() -
Mat33
-
-
Method Details
-
setZero
public void setZero() -
mul
-
mul22
-
mul22ToOut
-
mul22ToOutUnsafe
-
mulToOut
-
mulToOutUnsafe
-
solve22
-
solve22ToOut
-
solve33
-
solve33ToOut
-
getInverse22
-
getSymInverse33
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj) - Overrides:
equalsin classjava.lang.Object
-