protected abstract class AbstractMathTransform.Inverse extends AbstractMathTransform implements Serializable
AbstractMathTransform
.
Defined in the sis-referencing
module
AbstractMathTransform.Inverse
Modifier | Constructor and Description |
---|---|
protected |
Inverse()
Constructs an inverse math transform.
|
Modifier and Type | Method and Description |
---|---|
protected int |
computeHashCode()
Computes a hash value for this transform.
|
Matrix |
derivative(DirectPosition 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 |
formatTo(Formatter formatter)
Formats the inner part of a Well Known Text version 1 (WKT 1) element.
|
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.
|
equals, getParameterDescriptors, getParameterValues, hashCode, transform, transform, transform, transform, transform, transform
print, toString, toString, toWKT
toWKT
public final int getSourceDimensions()
getSourceDimensions
in interface MathTransform
getSourceDimensions
in class AbstractMathTransform
public final int getTargetDimensions()
getTargetDimensions
in interface MathTransform
getTargetDimensions
in class AbstractMathTransform
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
).NullPointerException
- if the derivative depends on coordinate and point
is null
.MismatchedDimensionException
- if point
does not have the expected dimension.TransformException
- if the derivative can not be evaluated at the specified point.public MathTransform inverse()
inverse
in interface MathTransform
inverse
in class AbstractMathTransform
public boolean isIdentity()
isIdentity
in interface MathTransform
isIdentity
in class AbstractMathTransform
protected 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 LenientComparable
equals
in class AbstractMathTransform
object
- The object to compare with this transform.mode
- The strictness level of the comparison. Default to STRICT
.true
if the given object is considered equals to this math transform.Utilities.deepEquals(Object, Object, ComparisonMode)
public String formatTo(Formatter formatter)
"Inverse_MT"
entity.
Param_MT
and Inverse_MT
are defined in the WKT 1 specification only.formatTo
in class AbstractMathTransform
formatter
- The formatter to use."Param_MT"
or
"Inverse_MT"
in the default implementation.FormattableObject.toWKT()
,
FormattableObject.toString()
Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.