Package geomss.geom
Interface GeomTransform<T extends Transformable>
-
- Type Parameters:
T- The sub-type of this GeomTransform object.
- All Superinterfaces:
java.lang.Cloneable,java.lang.Comparable,GeomElement<T>,java.io.Serializable,Transformable<T>,javolution.xml.XMLSerializable
- All Known Implementing Classes:
CSTCurveTrans,GeomPlaneTrans,GeomPointTrans,LineSegTrans,ModelNoteTrans,NoteTrans,NurbsCurveTrans,NurbsSurfaceTrans,TriangleTrans,VectorTrans
public interface GeomTransform<T extends Transformable> extends Transformable<T>
Represents a transformation element that applies atransformto a childTransformableobject. Changes made to the child object will generally be reflected in the output of the transform object.Modified by: Joseph A. Huwaldt
- Version:
- August 31, 2015
- Author:
- Joseph A. Huwaldt, Date: April 30, 2009
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TcopyToReal()Return a copy of the child object transformed by this transformation.TgetChild()Returns the child object transformed by this transform element.GTransformgetTotalTransform()Returns the total transformation represented by an entire chain of GeomTransform objects below this one.GTransformgetTransform()Returns the transformation represented by this transformation element.voidsetTransform(GTransform transform)Sets the transformation represented by this transformation element.-
Methods inherited from interface geomss.geom.GeomElement
addChangeListener, copy, getAllUserData, getBoundsMax, getBoundsMin, getID, getLimitPoint, getName, getParDimension, getPhyDimension, getUnit, getUserData, isValid, putAllUserData, putUserData, removeChangeListener, removeUserData, setName, size, to, toDimension, toText
-
Methods inherited from interface geomss.geom.Transformable
getTransformed
-
-
-
-
Method Detail
-
getTransform
GTransform getTransform()
Returns the transformation represented by this transformation element.- Returns:
- The transformation represented by this transformation element.
-
getTotalTransform
GTransform getTotalTransform()
Returns the total transformation represented by an entire chain of GeomTransform objects below this one.- Returns:
- The total transformation represented by an entire chain of GeomTransform objects below this one.
-
setTransform
void setTransform(GTransform transform)
Sets the transformation represented by this transformation element.- Parameters:
transform- The transform to set this transform element to (may not benull).
-
getChild
T getChild()
Returns the child object transformed by this transform element.- Returns:
- The child object transformed by this transform element.
-
copyToReal
T copyToReal()
Return a copy of the child object transformed by this transformation.- Specified by:
copyToRealin interfaceGeomElement<T extends Transformable>- Returns:
- A copy of this object with any transformations removed (applied).
-
-