Class ALcdObjectTransformation
java.lang.Object
com.luciad.datamodel.transformation.ALcdObjectTransformation
- All Implemented Interfaces:
ILcdObjectTransformation
Simple implementation of
ILcdObjectTransformation for invertible transformations
that implements the inverse transformation by delegation to the invert(Object, Map)
method.- Since:
- 11.0
-
Constructor Details
-
ALcdObjectTransformation
public ALcdObjectTransformation()
-
-
Method Details
-
getInverse
Description copied from interface:ILcdObjectTransformationReturns the inverse transformation.getInverse().transform( transform( object ) )should always return an object that can be considered equal to the given object. When the transformation has no inverse,nullshould be returned.- Specified by:
getInversein interfaceILcdObjectTransformation- Returns:
- the inverse transformation
-
transform
Description copied from interface:ILcdObjectTransformationTransforms the given value to another value. The givenaObjectshould not be null. The context can be used to share information between transformations.- Specified by:
transformin interfaceILcdObjectTransformation- Parameters:
aObject- the value to transformaContext- the context- Returns:
- the transformed value
-
invert
Returns the inverse of the given object.- Parameters:
aObject- the object on which the inverse transformation should be performedaContext- the transformation context- Returns:
- the inverted object
-