|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LinearTransform
A MathTransform which can be represented by a matrix.
Such transforms are often affine, but not necessarily.
The number of columns is equal to the number of source dimensions plus 1, and the number of rows is equal to the number of target dimensions plus 1.
| referencing/geotk-referencing (download) | View source code for this class |
| Method Summary | |
|---|---|
boolean |
equals(Object object,
ComparisonMode mode)
Compares this linear transform with the given object for equality. |
Matrix |
getMatrix()
Returns this transform as an affine transform matrix. |
boolean |
isIdentity(double tolerance)
Tests whether this transform does not move any points, by using the provided tolerance value. |
| Methods inherited from interface MathTransform |
|---|
derivative, getSourceDimensions, getTargetDimensions, inverse, isIdentity, toWKT, transform, transform, transform, transform, transform |
| Methods inherited from interface LenientComparable |
|---|
equals |
| Method Detail |
|---|
Matrix getMatrix()
boolean isIdentity(double tolerance)
tolerance value. The signification of tolerance value is
the same than in the following pseudo-code:
((Xmatrix) getMatrix()).isIdentity(tolerance);
tolerance - The tolerance factor.
true if this transform is the identity oneMatrixFactory.getMatrix(MathTransform),
XMatrix.isIdentity(double)
boolean equals(Object object,
ComparisonMode mode)
mode
argument:
STRICT: the two transforms must be of the
same class and have the same parameter values.XMatrix.equals(…) javadoc. This rule is based on the assumption that the
linear transforms behavior are fully determined by their matrix.
equals in interface LenientComparableobject - The object to compare to this.mode - The strictness level of the comparison.
true if both objects are equal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||