@Extension 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.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, transform
double 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 MathTransform
NoninvertibleTransformException
- if the transform can't be inversed.Copyright © 1996–2022 Geotools. All rights reserved.