|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fixbin.ddd.Matrix33
This is the special form of a 3x3 Matrix.
| Field Summary | |
long[][] |
mat
|
static Matrix33 |
unity
|
| Constructor Summary | |
Matrix33()
Creates a new (default) instance of Matrix33 |
|
Matrix33(long mat00,
long mat01,
long mat02,
long mat10,
long mat11,
long mat12,
long mat20,
long mat21,
long mat22)
Creates a new instance of Matrix and allows to preset all matrix values |
|
| Method Summary | |
long |
getValue(int row,
int col)
Returns the content of a field in the Matrix |
void |
rotateX(long angle)
Rotate around X axis |
void |
rotateY(long angle)
Rotate around Y axis |
void |
rotateZ(long angle)
Rotate around Z axis |
void |
setValue(int row,
int col,
long value)
Sets the content of a field in the Matrix |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Matrix33 unity
public long[][] mat
| Constructor Detail |
public Matrix33()
public Matrix33(long mat00,
long mat01,
long mat02,
long mat10,
long mat11,
long mat12,
long mat20,
long mat21,
long mat22)
mat00 - (long) the preset at row 0, col 0mat01 - (long) the preset at row 0, col 1mat02 - (long) the preset at row 0, col 2mat10 - (long) the preset at row 1, col 0mat11 - (long) the preset at row 1, col 1mat12 - (long) the preset at row 1, col 2mat20 - (long) the preset at row 2, col 0mat21 - (long) the preset at row 2, col 1mat22 - (long) the preset at row 2, col 2| Method Detail |
public long getValue(int row,
int col)
row - (int)col - (int)
public void setValue(int row,
int col,
long value)
row - (int)col - (int)value - (long)
public void rotateX(long angle)
throws java.lang.Exception
angle - (long) the angle that should be rotated
java.lang.Exception
public void rotateY(long angle)
throws java.lang.Exception
angle - (long) the angle that should be rotated
java.lang.Exception
public void rotateZ(long angle)
throws java.lang.Exception
angle - (long) the angle that should be rotated
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||