| java.lang.Object | |
| ↳ | casmi.matrix.Matrix2D |
2D Matrix class.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| m00 | |||||||||||
| m01 | |||||||||||
| m02 | |||||||||||
| m10 | |||||||||||
| m11 | |||||||||||
| m12 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Multiply this matrix by another.
| |||||||||||
Copies the matrix contents into a 6 entry double array.
| |||||||||||
Returns a copy of this Matrix.
| |||||||||||
Invert this matrix.
| |||||||||||
Multiply the x and y coordinates of a Vertex against this matrix.
| |||||||||||
Multiply a two element vector against this matrix.
| |||||||||||
Apply another matrix to the left of this one.
| |||||||||||
Transpose this matrix.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
casmi.matrix.Matrix
| |||||||||||
Copies the matrix contents into a 6 entry double array. If target is null (or not the correct size), a new array will be created.
Invert this matrix. Implementation stolen from OpenJDK.
Multiply the x and y coordinates of a Vertex against this matrix.
Multiply a two element vector against this matrix. If out is null or not length four, a new double array will be returned. The values for vec and out can be the same (though that's less efficient).
Transpose this matrix.