Interface LinearTransform
- All Superinterfaces:
MathTransform
- All Known Implementing Classes:
AffineTransform2D
,GeocentricTranslation
,IdentityTransform
,LinearTransform1D
,ProjectiveTransform
Interface for linear
MathTransform
s. A linear transform can be express as an affine transform using a
matrix. The number of columns is equals to the number of
source dimensions plus 1, and the number of rows is
equals to the number of target dimensions plus 1.- Since:
- 2.0
- Author:
- Martin Desruisseaux (IRD)
-
Method Summary
Modifier and TypeMethodDescriptionReturns this transform as an affine transform matrix.boolean
isIdentity
(double tolerance) Tests whether this transform does not move any points, by using the providedtolerance
value.Methods inherited from interface MathTransform
derivative, getSourceDimensions, getTargetDimensions, inverse, isIdentity, toWKT, transform, transform, transform, transform, transform
-
Method Details
-
getMatrix
Matrix getMatrix()Returns this transform as an affine transform matrix.- Returns:
- A copy of the underlying matrix.
-
isIdentity
boolean isIdentity(double tolerance) Tests whether this transform does not move any points, by using the providedtolerance
value. The signification of tolerance value is the same than in the following pseudo-code:getMatrix().isIdentity(tolerance);
- Parameters:
tolerance
- The tolerance factor.- Returns:
true
if this transform is the identity one- Since:
- 2.4
-