@UML(identifier="PT_Matrix", specification=OGC_01009) public interface Matrix
Matrix3d,
Matrix4d,
GMatrix,
AffineTransform,
PerspectiveTransform,
Transform3D,
Jama matrix| Modifier and Type | Method and Description |
|---|---|
Matrix |
clone()
Returns a clone of this matrix.
|
double |
getElement(int row,
int column)
Retrieves the value at the specified row and column of this matrix.
|
int |
getNumCol()
Returns the number of columns in this matrix.
|
int |
getNumRow()
Returns the number of rows in this matrix.
|
boolean |
isIdentity()
Returns
true if this matrix is an identity matrix. |
void |
setElement(int row,
int column,
double value)
Modifies the value at the specified row and column of this matrix.
|
int getNumRow()
Departure from OGC/ISO specification:
Needed for making the matrix usable. The method signature matches the one ofGMatrixin the vecmath package, for straightforward implementation.
int getNumCol()
Departure from OGC/ISO specification:
Needed for making the matrix usable. The method signature matches the one ofGMatrixin the vecmath package, for straightforward implementation.
double getElement(int row,
int column)
row - The row number to be retrieved (zero indexed).column - The column number to be retrieved (zero indexed).Departure from OGC/ISO specification:
Needed for making the matrix usable. The method signature matches the one ofGMatrixin the vecmath package, for straightforward implementation.
void setElement(int row,
int column,
double value)
row - The row number to be retrieved (zero indexed).column - The column number to be retrieved (zero indexed).value - The new matrix element value.Departure from OGC/ISO specification:
Needed for making the matrix usable. The method signature matches the one ofGMatrixin the vecmath package, for straightforward implementation.
boolean isIdentity()
true if this matrix is an identity matrix.true if this matrix is an identity matrix.Departure from OGC/ISO specification:
Added as a convenience for a frequently requested operation.
Matrix clone()
Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.