protected abstract class AbstractMathTransform1D.Inverse extends AbstractMathTransform.Inverse implements MathTransform1D
AbstractMathTransform1D
.
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 |
---|---|
Matrix |
derivative(DirectPosition point)
Gets the derivative of this transform at a point.
|
MathTransform1D |
inverse()
Returns the enclosing math transform.
|
Matrix |
transform(double[] srcPts,
int srcOff,
double[] dstPts,
int dstOff,
boolean derivate)
Transforms a single point in the given array and opportunistically computes its derivative if requested.
|
computeHashCode, equals, formatTo, getSourceDimensions, getTargetDimensions, isIdentity
equals, getContextualParameters, getParameterDescriptors, getParameterValues, hashCode, transform, transform, transform, transform, transform, tryConcatenate
print, toString, toString, toWKT
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
derivative, transform
getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transform
public MathTransform1D inverse()
inverse
in interface MathTransform
inverse
in interface MathTransform1D
inverse
in class AbstractMathTransform.Inverse
public Matrix transform(double[] srcPts, int srcOff, double[] dstPts, int dstOff, boolean derivate) throws TransformException
MathTransform1D.transform(double)
and potentially to MathTransform1D.derivative(double)
.
Subclasses may override this method for performance reason.transform
in class AbstractMathTransform
srcPts
- the array containing the source coordinate (can not be null
).srcOff
- the offset to the point to be transformed in the source array.dstPts
- the array into which the transformed coordinate is returned. May be the same than srcPts
.
May be null
if only the derivative matrix is desired.dstOff
- the offset to the location of the transformed point that is stored in the destination array.derivate
- true
for computing the derivative, or false
if not needed.null
if the derivate
argument is false
.TransformException
- if the point can not be transformed or
if a problem occurred while calculating the derivative.AbstractMathTransform.derivative(DirectPosition)
,
AbstractMathTransform.transform(DirectPosition, DirectPosition)
,
MathTransforms.derivativeAndTransform(MathTransform, double[], int, double[], int)
public Matrix derivative(DirectPosition point) throws TransformException
point
is one-dimensional, then delegates to MathTransform1D.derivative(double)
.derivative
in interface MathTransform
derivative
in class AbstractMathTransform.Inverse
point
- the coordinate point where to evaluate the derivative, or null
.null
).MismatchedDimensionException
- if point
does not have the expected dimension.TransformException
- if the derivative can not be evaluated at the specified point.Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.