|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.referencing.operation.transform.MathTransformProxy
A math transform which delegates part of its work to an other math transform. This is used as a starting point for subclass wanting to modifies only some aspect of an existing math transform, or to attach additional informations to it. The default implementation delegates all method calls to the underlying transform. Subclasses typically override some of those methods.
This class is serializable if the underlying transform is serializable too.
Field Summary | |
org.opengis.referencing.operation.MathTransform |
transform
The math transform on which to delegate the work. |
Constructor Summary | |
protected |
MathTransformProxy(org.opengis.referencing.operation.MathTransform transform)
Creates a new proxy which delegates its work to the specified math transform. |
Method Summary | |
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 inverse math transform for equality. |
int |
getDimSource()
Deprecated. Renamed getSourceDimensions() . |
int |
getDimTarget()
Deprecated. Renamed getTargetDimensions() . |
int |
getSourceDimensions()
Gets the dimension of input points. |
int |
getTargetDimensions()
Gets the dimension of output points. |
int |
hashCode()
Returns a hash code value for this math transform. |
org.opengis.referencing.operation.MathTransform |
inverse()
Returns the inverse of this math transform. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
java.lang.String |
toString()
Returns a string representation for this transform. |
java.lang.String |
toWKT()
Returns a Well Known Text (WKT) for this transform. |
org.opengis.spatialschema.geometry.DirectPosition |
transform(org.opengis.spatialschema.geometry.DirectPosition ptSrc,
org.opengis.spatialschema.geometry.DirectPosition ptDst)
Transforms the specified and stores the result in . |
void |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
void |
transform(float[] srcPts,
int srcOff,
float[] dstPts,
int dstOff,
int numPts)
Transforms a list of coordinate point ordinal values. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public final org.opengis.referencing.operation.MathTransform transform
Constructor Detail |
protected MathTransformProxy(org.opengis.referencing.operation.MathTransform transform)
Method Detail |
public int getSourceDimensions()
getSourceDimensions
in interface org.opengis.referencing.operation.MathTransform
public final int getDimSource()
getSourceDimensions()
.
public int getTargetDimensions()
getTargetDimensions
in interface org.opengis.referencing.operation.MathTransform
public final int getDimTarget()
getTargetDimensions()
.
public org.opengis.spatialschema.geometry.DirectPosition transform(org.opengis.spatialschema.geometry.DirectPosition ptSrc, org.opengis.spatialschema.geometry.DirectPosition ptDst) throws org.opengis.spatialschema.geometry.MismatchedDimensionException, org.opengis.referencing.operation.TransformException
transform
in interface org.opengis.referencing.operation.MathTransform
org.opengis.spatialschema.geometry.MismatchedDimensionException
org.opengis.referencing.operation.TransformException
public void transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, int numPts) throws org.opengis.referencing.operation.TransformException
transform
in interface org.opengis.referencing.operation.MathTransform
org.opengis.referencing.operation.TransformException
public void transform(float[] srcPts, int srcOff, float[] dstPts, int dstOff, int numPts) throws org.opengis.referencing.operation.TransformException
transform
in interface org.opengis.referencing.operation.MathTransform
org.opengis.referencing.operation.TransformException
public org.opengis.referencing.operation.Matrix derivative(org.opengis.spatialschema.geometry.DirectPosition point) throws org.opengis.referencing.operation.TransformException
derivative
in interface org.opengis.referencing.operation.MathTransform
org.opengis.referencing.operation.TransformException
public org.opengis.referencing.operation.MathTransform inverse() throws org.opengis.referencing.operation.NoninvertibleTransformException
inverse
in interface org.opengis.referencing.operation.MathTransform
org.opengis.referencing.operation.NoninvertibleTransformException
public boolean isIdentity()
isIdentity
in interface org.opengis.referencing.operation.MathTransform
public java.lang.String toWKT() throws java.lang.UnsupportedOperationException
toWKT
in interface org.opengis.referencing.operation.MathTransform
java.lang.UnsupportedOperationException
public java.lang.String toString()
public boolean equals(java.lang.Object object)
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |