org.geotools.referencing.operation
Interface LinearTransform

All Superinterfaces:
org.opengis.referencing.operation.MathTransform
All Known Implementing Classes:
AffineTransform2D, GeocentricTranslation, IdentityTransform, LinearTransform1D, ProjectiveTransform

public interface LinearTransform
extends org.opengis.referencing.operation.MathTransform

Interface for linear MathTransforms. 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
Version:
$Id: LinearTransform.java 30760 2008-06-18 14:28:24Z desruisseaux $
Author:
Martin Desruisseaux (IRD)

Method Summary
 org.opengis.referencing.operation.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 org.opengis.referencing.operation.MathTransform
derivative, getSourceDimensions, getTargetDimensions, inverse, isIdentity, toWKT, transform, transform, transform, transform, transform
 

Method Detail

getMatrix

org.opengis.referencing.operation.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 provided tolerance 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


Copyright © 1996-2010 Geotools. All Rights Reserved.