Class MathTransformationAdapter
Object
MathTransformationAdapter
- All Implemented Interfaces:
MathTransformation
Adapter class for
MathTransform1D
.
Simple adapter for MathTransform1D
it provides some convenience methods for implementors.
Note that it throw an UnsupportedOperationException
for the operations that must be implemented by
implementors, namely:
- transform methods
- inverse methods
- derivative methods
- Author:
- Simone Giannecchini, GeoSolutions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
derivative
(double value) int
int
MathTransformation
boolean
double
transform
(double value) Position
transform
(Position ptSrc, Position ptDst)
-
Constructor Details
-
MathTransformationAdapter
public MathTransformationAdapter()
-
-
Method Details
-
derivative
- Specified by:
derivative
in interfaceMathTransformation
- Throws:
TransformException
-
transform
public double transform(double value) - Specified by:
transform
in interfaceMathTransformation
-
getSourceDimensions
public int getSourceDimensions()- Specified by:
getSourceDimensions
in interfaceMathTransformation
-
getTargetDimensions
public int getTargetDimensions()- Specified by:
getTargetDimensions
in interfaceMathTransformation
-
inverseTransform
public MathTransformation inverseTransform()- Specified by:
inverseTransform
in interfaceMathTransformation
-
isIdentity
public boolean isIdentity()- Specified by:
isIdentity
in interfaceMathTransformation
-
transform
public Position transform(Position ptSrc, Position ptDst) - Specified by:
transform
in interfaceMathTransformation
-