|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.java.dev.joode.util.Matrix2
public class Matrix2
A two dimensional vector
| Field Summary | |
|---|---|
Vector2 |
col1
The first column of the matrix |
Vector2 |
col2
The second column of the matrix |
| Constructor Summary | |
|---|---|
Matrix2()
Create an empty matrix |
|
Matrix2(float angle)
Create a matrix with a rotation |
|
Matrix2(Vector2 col1,
Vector2 col2)
Create a matrix |
|
| Method Summary | |
|---|---|
Matrix2 |
invert()
Transpose the invert |
void |
set(Matrix3 matrix)
takes the x & y components of the 3D matrix to represent the 2D matrix i.e. |
Matrix2 |
transpose()
Transpose the matrix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Vector2 col1
public Vector2 col2
| Constructor Detail |
|---|
public Matrix2()
public Matrix2(float angle)
angle - The angle of the rotation decribed by the matrix
public Matrix2(Vector2 col1,
Vector2 col2)
col1 - The first columncol2 - The second column| Method Detail |
|---|
public void set(Matrix3 matrix)
public Matrix2 transpose()
public Matrix2 invert()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||