|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectFormattableObject
AbstractMathTransform
AbstractMathTransform.Inverse
protected abstract class AbstractMathTransform.Inverse
Default implementation for inverse math transform. This inner class is the inverse of
the enclosing AbstractMathTransform. It is serializable only if the enclosing
math transform is also serializable.
| referencing/geotk-referencing (download) | View source code for this class |
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class AbstractMathTransform |
|---|
AbstractMathTransform.Inverse |
| Field Summary |
|---|
| Fields inherited from class FormattableObject |
|---|
EPSG, GEOTIFF, INTERNAL, OGC, SINGLE_LINE |
| Constructor Summary | |
|---|---|
protected |
AbstractMathTransform.Inverse()
Constructs an inverse math transform. |
| Method Summary | |
|---|---|
protected int |
computeHashCode()
Computes a hash value for this transform. |
Matrix |
derivative(DirectPosition point)
Gets the derivative of this transform at a point. |
Matrix |
derivative(Point2D point)
Gets the derivative of this transform at a point. |
boolean |
equals(Object object,
ComparisonMode mode)
Compares the specified object with this inverse math transform for equality. |
String |
formatWKT(Formatter formatter)
Formats the inner part of a Well Known Text (WKT) element. |
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. |
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 AbstractMathTransform |
|---|
createTransformedShape, ensureNonNull, equals, getParameterDescriptors, getParameterValues, hashCode, rollLongitude, transform, transform, transform, transform, transform, transform, transform |
| Methods inherited from class FormattableObject |
|---|
getDefaultIndentation, print, setDefaultIndentation, toString, toWKT, toWKT, toWKT |
| Methods inherited from class Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface MathTransform |
|---|
toWKT |
| Constructor Detail |
|---|
protected AbstractMathTransform.Inverse()
| Method Detail |
|---|
public String getName()
null). The default implementation
returns the direct transform name concatenated with localized flavor (when available)
of "(Inverse transform)".
getName in class AbstractMathTransformnull).public int getSourceDimensions()
getSourceDimensions in interface MathTransformgetSourceDimensions in class AbstractMathTransformpublic int getTargetDimensions()
getTargetDimensions in interface MathTransformgetTargetDimensions in class AbstractMathTransform
public Matrix derivative(Point2D point)
throws TransformException
derivative in class AbstractMathTransformpoint - The coordinate point where to evaluate the derivative.
TransformException - if the derivative can't be evaluated at the specified point.MathTransform2D.derivative(Point2D)
public Matrix derivative(DirectPosition point)
throws TransformException
derivative in interface MathTransformderivative in class AbstractMathTransformpoint - The coordinate point where to evaluate the derivative.
null).
TransformException - if the derivative can't be evaluated at the specified point.public MathTransform inverse()
this is always AbstractMathTransform.this.
inverse in interface MathTransforminverse in class AbstractMathTransformpublic boolean isIdentity()
isIdentity in interface MathTransformisIdentity in class AbstractMathTransformprotected int computeHashCode()
AbstractMathTransform.hashCode()
when first needed.
computeHashCode in class AbstractMathTransform
public boolean equals(Object object,
ComparisonMode mode)
object in an instance of the same class
than this, and if so compares their enclosing AbstractMathTransform.
equals in interface LenientComparableequals in class AbstractMathTransformobject - The object to compare with this transform.mode - The strictness level of the comparison. Default to STRICT.
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.public String formatWKT(Formatter formatter)
"INVERSE_MT" entity.
formatWKT in interface FormattableformatWKT in class AbstractMathTransformformatter - The formatter to use.
"PARAM_MT" or
"INVERSE_MT" in the default implementation.FormattableObject.toWKT(),
FormattableObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||