|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectFormattable
AbstractMathTransform
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 AbstractMathTransform |
---|
AbstractMathTransform.Inverse |
Field Summary |
---|
Fields inherited from class Formattable |
---|
SINGLE_LINE |
Constructor Summary | |
---|---|
protected |
AbstractMathTransform.Inverse()
Constructs an inverse math transform. |
Method Summary | |
---|---|
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)
Compares the specified object with this inverse math transform for equality. |
protected String |
formatWKT(Formatter formatter)
Format 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. |
int |
hashCode()
Returns a hash code value for this math transform. |
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, getParameterDescriptors, getParameterValues, needCopy, rollLongitude, transform, transform, transform, transform, transform |
Methods inherited from class Formattable |
---|
cleanupThreadLocals, toString, toWKT, toWKT, toWKT, toWKT |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface MathTransform |
---|
toWKT, transform |
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 AbstractMathTransform
null
).public int getSourceDimensions()
getSourceDimensions
in interface MathTransform
getSourceDimensions
in class AbstractMathTransform
public int getTargetDimensions()
getTargetDimensions
in interface MathTransform
getTargetDimensions
in class AbstractMathTransform
public Matrix derivative(Point2D point) throws TransformException
derivative
in class AbstractMathTransform
point
- 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 MathTransform
derivative
in class AbstractMathTransform
point
- 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 MathTransform
inverse
in class AbstractMathTransform
public boolean isIdentity()
isIdentity
in interface MathTransform
isIdentity
in class AbstractMathTransform
true
if this MathTransform
is
an identity transform; false
otherwise.public int hashCode()
hashCode
in class AbstractMathTransform
public boolean equals(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 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 |