Class MathTransformationAdapter
- Object
-
- MathTransformationAdapter
-
- All Implemented Interfaces:
MathTransformation
public class MathTransformationAdapter extends Object implements MathTransformation
Adapter class forMathTransform1D.Simple adapter for
MathTransform1Dit provides some convenience methods for implementors.Note that it throw an
UnsupportedOperationExceptionfor the operations that must be implemented by implementors, namely:- transform methods
- inverse methods
- derivative methods
- Author:
- Simone Giannecchini, GeoSolutions.
-
-
Constructor Summary
Constructors Constructor Description MathTransformationAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublederivative(double value)intgetSourceDimensions()intgetTargetDimensions()MathTransformationinverseTransform()booleanisIdentity()doubletransform(double value)Positiontransform(Position ptSrc, Position ptDst)
-
-
-
Method Detail
-
derivative
public double derivative(double value) throws TransformException- Specified by:
derivativein interfaceMathTransformation- Throws:
TransformException
-
transform
public double transform(double value)
- Specified by:
transformin interfaceMathTransformation
-
getSourceDimensions
public int getSourceDimensions()
- Specified by:
getSourceDimensionsin interfaceMathTransformation
-
getTargetDimensions
public int getTargetDimensions()
- Specified by:
getTargetDimensionsin interfaceMathTransformation
-
inverseTransform
public MathTransformation inverseTransform()
- Specified by:
inverseTransformin interfaceMathTransformation
-
isIdentity
public boolean isIdentity()
- Specified by:
isIdentityin interfaceMathTransformation
-
transform
public Position transform(Position ptSrc, Position ptDst)- Specified by:
transformin interfaceMathTransformation
-
-