|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.referencing.wkt.Formattable
org.geotools.referencing.operation.transform.AbstractMathTransform
org.geotools.referencing.operation.transform.AbstractMathTransform.Inverse
protected abstract class AbstractMathTransform.Inverse
Default implementation for inverse math transform. This inner class is the inverse
of the enclosing MathTransform
. It is serializable only if the enclosing
math transform is also serializable.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
---|
AbstractMathTransform.Inverse |
Field Summary |
---|
Fields inherited from class org.geotools.referencing.wkt.Formattable |
---|
SINGLE_LINE |
Constructor Summary | |
---|---|
protected |
AbstractMathTransform.Inverse()
Constructs an inverse math transform. |
Method Summary | |
---|---|
org.opengis.referencing.operation.Matrix |
derivative(org.opengis.geometry.DirectPosition point)
Gets the derivative of this transform at a point. |
org.opengis.referencing.operation.Matrix |
derivative(java.awt.geom.Point2D 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. |
protected java.lang.String |
formatWKT(Formatter formatter)
Format the inner part of a Well Known Text (WKT) element. |
java.lang.String |
getName()
Returns a name for this math transform (never null ). |
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, which is the enclosing math transform. |
boolean |
isIdentity()
Tests whether this transform does not move any points. |
Methods inherited from class org.geotools.referencing.operation.transform.AbstractMathTransform |
---|
createTransformedShape, ensureNonNull, getParameterDescriptors, getParameterValues, needCopy, rollLongitude, transform, transform, transform, transform, transform |
Methods inherited from class org.geotools.referencing.wkt.Formattable |
---|
cleanupThreadLocals, 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, transform |
Constructor Detail |
---|
protected AbstractMathTransform.Inverse()
Method Detail |
---|
public java.lang.String getName()
null
). The default implementation
returns the direct transform name concatenated with localized flavor (when available)
of "(Inverse transform)".
getName
in class AbstractMathTransform
null
).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.referencing.operation.Matrix derivative(java.awt.geom.Point2D point) throws org.opengis.referencing.operation.TransformException
derivative
in class AbstractMathTransform
point
- The coordinate point where to evaluate the derivative.
org.opengis.referencing.operation.TransformException
- if the derivative can't be evaluated at the specified point.MathTransform2D.derivative(Point2D)
public org.opengis.referencing.operation.Matrix derivative(org.opengis.geometry.DirectPosition point) throws org.opengis.referencing.operation.TransformException
derivative
in interface org.opengis.referencing.operation.MathTransform
derivative
in class AbstractMathTransform
point
- The coordinate point where to evaluate the derivative.
null
).
org.opengis.referencing.operation.TransformException
- if the derivative can't be evaluated at the
specified point.public org.opengis.referencing.operation.MathTransform inverse()
this
is always AbstractMathTransform.this
.
inverse
in interface org.opengis.referencing.operation.MathTransform
inverse
in class AbstractMathTransform
public boolean isIdentity()
isIdentity
in interface org.opengis.referencing.operation.MathTransform
isIdentity
in class AbstractMathTransform
public int hashCode()
hashCode
in class AbstractMathTransform
public boolean equals(java.lang.Object object)
object
in an instance of the same
class than this
, and then test their enclosing math transforms.
equals
in class AbstractMathTransform
object
- The object to compare with this transform.
true
if the given object is a transform of the same class
and if, given identical source position, the
transformed
position would be the equals.protected java.lang.String formatWKT(Formatter formatter)
"INVERSE_MT"
entity.
formatWKT
in class AbstractMathTransform
formatter
- The formatter to use.
"PARAM_MT"
or
"INVERSE_MT"
in the default implementation.Formattable.toWKT()
,
Formattable.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |