|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A matrix capables to perform some matrix operations. The basic Matrix
interface
is basically just a two dimensional array of numbers. The interface add
inversion and multiplication capabilities.
It is used as a bridge across various matrix implementations in Java3D
(Matrix3f
, Matrix3d
, Matrix4f
,
Matrix4d
, GMatrix
).
Method Summary | |
void |
invert()
Inverts this matrix in place. |
boolean |
isAffine()
Returns if this matrix is an affine transform. |
void |
multiply(org.opengis.referencing.operation.Matrix matrix)
Sets the value of this matrix to the result of multiplying itself with the specified matrix. |
void |
negate()
Negates the value of this matrix: = . |
void |
setIdentity()
Sets this matrix to the identity matrix. |
void |
setZero()
Sets all the values in this matrix to zero. |
void |
transpose()
Sets the value of this matrix to its transpose. |
Methods inherited from interface org.opengis.referencing.operation.Matrix |
clone, getElement, getNumCol, getNumRow, isIdentity, setElement |
Method Detail |
public void setZero()
public void setIdentity()
public boolean isAffine()
public void negate()
public void transpose()
public void invert() throws javax.vecmath.SingularMatrixException
javax.vecmath.SingularMatrixException
- if this matrix is not invertible.public void multiply(org.opengis.referencing.operation.Matrix matrix)
AffineTransform.concatenate
:
first transforms by the supplied transform and then transform the result by the original
transform.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |