|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.wkt.Formattable org.geotools.referencing.operation.transform.AbstractMathTransform org.geotools.referencing.operation.transform.IdentityTransform
The identity transform. The data are only copied without any transformation. This class is
used for identity transform of dimension greater than 2. For 1D and 2D identity transforms,
LinearTransform1D
and AffineTransform
already provide their
own optimisations.
Nested Class Summary |
Nested classes inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
AbstractMathTransform.Inverse |
Constructor Summary | |
protected |
IdentityTransform(int dimension)
Constructs an identity transform of the specified dimension. |
Method Summary | |
static LinearTransform |
create(int dimension)
Constructs an identity transform of the specified dimension. |
org.opengis.referencing.operation.Matrix |
derivative(org.opengis.spatialschema.geometry.DirectPosition point)
Gets the derivative of this transform at a point. |
boolean |
equals(java.lang.Object object)
Compares the specified object with this math transform for equality. |
org.opengis.referencing.operation.Matrix |
getMatrix()
Returns a copy of the identity matrix. |
org.opengis.parameter.ParameterDescriptorGroup |
getParameterDescriptors()
Returns the parameter descriptors for this math transform. |
org.opengis.parameter.ParameterValueGroup |
getParameterValues()
Returns the matrix elements as a group of parameters values. |
int |
getSourceDimensions()
Gets the dimension of input points. |
int |
getTargetDimensions()
Gets the dimension of output points. |
int |
hashCode()
Returns a hash value for this transform. |
org.opengis.referencing.operation.MathTransform |
inverse()
Returns the inverse transform of this object, which is this transform itself |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
org.opengis.spatialschema.geometry.DirectPosition |
transform(org.opengis.spatialschema.geometry.DirectPosition ptSrc,
org.opengis.spatialschema.geometry.DirectPosition ptDst)
Copies the values from to . |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms an array of floating point coordinates by this transform. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Transforms an array of floating point coordinates by this transform. |
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
createTransformedShape, derivative, ensureNonNull, formatWKT, getDimSource, getDimTarget, needCopy, rollLongitude, transform |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
toString, toWKT, toWKT, toWKT |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.opengis.referencing.operation.MathTransform |
toWKT |
Constructor Detail |
protected IdentityTransform(int dimension)
Method Detail |
public static LinearTransform create(int dimension)
public boolean isIdentity()
isIdentity
in interface org.opengis.referencing.operation.MathTransform
isIdentity
in class AbstractMathTransform
public int getSourceDimensions()
getSourceDimensions
in interface org.opengis.referencing.operation.MathTransform
getSourceDimensions
in class AbstractMathTransform
public int getTargetDimensions()
getTargetDimensions
in interface org.opengis.referencing.operation.MathTransform
getTargetDimensions
in class AbstractMathTransform
public org.opengis.parameter.ParameterDescriptorGroup getParameterDescriptors()
getParameterDescriptors
in class AbstractMathTransform
OperationMethod.getParameters()
public org.opengis.parameter.ParameterValueGroup getParameterValues()
getParameterValues
in class AbstractMathTransform
Operation.getParameterValues()
public org.opengis.referencing.operation.Matrix getMatrix()
getMatrix
in interface LinearTransform
public org.opengis.referencing.operation.Matrix derivative(org.opengis.spatialschema.geometry.DirectPosition point)
derivative
in interface org.opengis.referencing.operation.MathTransform
derivative
in class AbstractMathTransform
point
- The coordinate point where to evaluate the derivative.
public org.opengis.spatialschema.geometry.DirectPosition transform(org.opengis.spatialschema.geometry.DirectPosition ptSrc, org.opengis.spatialschema.geometry.DirectPosition ptDst)
transform
in interface org.opengis.referencing.operation.MathTransform
transform
in class AbstractMathTransform
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts)
transform
in interface org.opengis.referencing.operation.MathTransform
transform
in class AbstractMathTransform
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts)
transform
in interface org.opengis.referencing.operation.MathTransform
public org.opengis.referencing.operation.MathTransform inverse()
inverse
in interface org.opengis.referencing.operation.MathTransform
inverse
in class AbstractMathTransform
public int hashCode()
hashCode
in class AbstractMathTransform
public boolean equals(java.lang.Object object)
equals
in class AbstractMathTransform
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |