Interface LinearTransform
-
- All Superinterfaces:
MathTransform
- All Known Implementing Classes:
AffineTransform2D,GeocentricTranslation,IdentityTransform,LinearTransform1D,ProjectiveTransform
public interface LinearTransform extends MathTransform
Interface for linearMathTransforms. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MatrixgetMatrix()Returns this transform as an affine transform matrix.booleanisIdentity(double tolerance)Tests whether this transform does not move any points, by using the providedtolerancevalue.-
Methods inherited from interface MathTransform
derivative, getSourceDimensions, getTargetDimensions, inverse, isIdentity, toWKT, transform, transform, transform, transform, transform
-
-
-
-
Method Detail
-
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 providedtolerancevalue. The signification of tolerance value is the same than in the following pseudo-code:getMatrix().isIdentity(tolerance);
- Parameters:
tolerance- The tolerance factor.- Returns:
trueif this transform is the identity one- Since:
- 2.4
-
-