public interface MathTransform1D extends MathTransform
CoordinateOperation.getMathTransform() may returns instance of this
interface when source and destination coordinate systems are both one dimensional.
MathTransform1D extends MathTransform by adding a simple method
transforming a value without the overhead of creating data array.Departure from OGC/ISO specification:
This interface is not part of the OGC specification. It has been added as a complement ofMathTransform2Dand because the 1D case provides opportunities for optimization through atransformmethod accepting a singledoubleprimitive type.
| Modifier and Type | Method and Description |
|---|---|
double |
derivative(double value)
Gets the derivative of this function at a value.
|
MathTransform1D |
inverse()
Creates the inverse transform of this object.
|
double |
transform(double value)
Transforms the specified value.
|
derivative, getSourceDimensions, getTargetDimensions, isIdentity, toWKT, transform, transform, transform, transform, transformdouble transform(double value)
throws TransformException
value - The value to transform.TransformException - if the value can't be transformed.double derivative(double value)
throws TransformException
value - The value where to evaluate the derivative.TransformException - if the derivative can't be evaluated at the
specified point.MathTransform1D inverse() throws NoninvertibleTransformException
inverse in interface MathTransformNoninvertibleTransformException - if the transform can't be inverted.Copyright © 1994–2019 Open Geospatial Consortium. All rights reserved.