org.grinvin.gred.transformations
Class AbstractTransformation
- Transformation
public abstract class AbstractTransformation
abstract int | getDimension()- Return the dimension of the source space.
|
void | inverseTransform(double x, double y, double[] result)-
This implementation always raises an exception.
|
boolean | isInvertible()-
This default implementation always returns
false.
|
abstract double[] | transform(double[] src, double[] dest)- Transform the given set of coordinates from
source space to destination space.
|
inverseTransform
public void inverseTransform(double x,
double y,
double[] result)
throws IllegalStateException
This implementation always raises an exception.
- inverseTransform in interface Transformation
isInvertible
public boolean isInvertible()
This default implementation always returns false.
- isInvertible in interface Transformation
transform
public abstract double[] transform(double[] src,
double[] dest) Transform the given set of coordinates from
source space to destination space.
- transform in interface Transformation
src - Coordinates in the n-dimensindest - Array into which the resulting coordinates shall be stored