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 TypeMethodDescriptiondoublederivative(double value) intintMathTransformationbooleandoubletransform(double value) Positiontransform(Position ptSrc, Position ptDst)
-
Constructor Details
-
MathTransformationAdapter
public MathTransformationAdapter()
-
-
Method Details
-
derivative
- 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
-