java.lang.Cloneable
MatrixTransformation
Matrix2DTransformation
, Matrix3DTransformation
, Quaternion
public interface Transformation
extends java.lang.Cloneable
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
clone() |
Provides a copy of this transformation.
|
double[] |
direct(double[] point) |
Transforms a given point
|
double[] |
inverse(double[] point) |
The inverse transformation (if it exists).
|
java.lang.Object clone()
double[] direct(double[] point)
point
- double[] the coordinates to be transformed
(the array's contents will be changed accordingly)double[] inverse(double[] point) throws java.lang.UnsupportedOperationException
point
- double[] the coordinates to be transformed
(the array's contents will be changed accordingly)java.lang.UnsupportedOperationException
- If the transformation is
not invertible