Package org.jlab.geom.prim
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.-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(Transformable obj) Modifies the givenTransformableobject by applying the transformation represented by this transform.getName()doublegetValue(int index) inverse()Constructs a newTransformthat is the inverse of this transform.
-
Method Details
-
apply
Modifies the givenTransformableobject by applying the transformation represented by this transform.- Parameters:
obj- the object to apply the transform to
-
inverse
Transformation3D.Transform inverse()Constructs a newTransformthat is the inverse of this transform.- Returns:
- the inverse of this transform
-
getName
String getName() -
getValue
double getValue(int index)
-