Contents
Interface Transformation3D.Transform
- All Known Implementing Classes:
Transformation3D.RotationX
,Transformation3D.RotationY
,Transformation3D.RotationZ
,Transformation3D.TranslationXYZ
- Enclosing class:
Transformation3D
public static interface Transformation3D.Transform
A interface for geometric transformations (eg translations and rotations)
that can be applied to a
Transformable
object.- Author:
- jnhankins
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Transformable obj) Modifies the givenTransformable
object by applying the transformation represented by this transform.getName()
double
getValue
(int index) inverse()
Constructs a newTransform
that is the inverse of this transform.
-
Method Details
-
apply
Modifies the givenTransformable
object by applying the transformation represented by this transform.- Parameters:
obj
- the object to apply the transform to
-
inverse
Transformation3D.Transform inverse()Constructs a newTransform
that is the inverse of this transform.- Returns:
- the inverse of this transform
-
getName
String getName() -
getValue
double getValue(int index)
-