public class MathTransformationAdapter extends Object implements MathTransformation
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:
Constructor and Description |
---|
MathTransformationAdapter() |
Modifier and Type | Method and Description |
---|---|
double |
derivative(double value) |
int |
getSourceDimensions() |
int |
getTargetDimensions() |
MathTransformation |
inverseTransform() |
boolean |
isIdentity() |
double |
transform(double value) |
Position |
transform(Position ptSrc,
Position ptDst) |
public double derivative(double value) throws TransformException
derivative
in interface MathTransformation
TransformException
public double transform(double value)
transform
in interface MathTransformation
public int getSourceDimensions()
getSourceDimensions
in interface MathTransformation
public int getTargetDimensions()
getTargetDimensions
in interface MathTransformation
public MathTransformation inverseTransform()
inverseTransform
in interface MathTransformation
public boolean isIdentity()
isIdentity
in interface MathTransformation
public Position transform(Position ptSrc, Position ptDst)
transform
in interface MathTransformation
Copyright © 1996–2019 Geotools. All rights reserved.