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:ILcdObjectTransformation
Returns 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,null
should be returned.- Specified by:
getInverse
in interfaceILcdObjectTransformation
- Returns:
- the inverse transformation
-
transform
Description copied from interface:ILcdObjectTransformation
Transforms the given value to another value. The givenaObject
should not be null. The context can be used to share information between transformations.- Specified by:
transform
in 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
-