Package com.luciad.view.lightspeed.layer
Class TLspWorldTouchInfo
java.lang.Object
com.luciad.view.lightspeed.layer.ALspTouchInfo
com.luciad.view.lightspeed.layer.ALspWorldTouchInfo
com.luciad.view.lightspeed.layer.TLspWorldTouchInfo
- All Implemented Interfaces:
ILcdCloneable,Cloneable
- Direct Known Subclasses:
TLspRasterWorldTouchInfo
Default implementation of
ALspWorldTouchInfo.- Since:
- 2012.0
-
Constructor Summary
ConstructorsConstructorDescriptionTLspWorldTouchInfo(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Constructs a new world touch info. -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns a clone of this object.Returns the domain object.Returns the elevation mode that was used to paint the touched geometry.Returns the point in world coordinates that was touched.voidset(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Sets the world touch info.toString()
-
Constructor Details
-
TLspWorldTouchInfo
public TLspWorldTouchInfo(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Constructs a new world touch info.- Parameters:
aDomainObject- the touched objectaWorldPoint- the point in world coordinates that was touchedaElevationMode- indicates the elevation mode of the touched representation
-
-
Method Details
-
set
public void set(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode) Sets the world touch info.- Parameters:
aDomainObject- the touched objectaWorldPoint- the point in world coordinates that was touchedaElevationMode- indicates the elevation mode of the touched object. This can be used for example to distinguish between draped and non-draped objects.
-
getDomainObject
Description copied from class:ALspTouchInfoReturns the domain object.- Specified by:
getDomainObjectin classALspTouchInfo- Returns:
- the domain object
-
getTouchedWorldPoint
Description copied from class:ALspWorldTouchInfoReturns the point in world coordinates that was touched.- Specified by:
getTouchedWorldPointin classALspWorldTouchInfo- Returns:
- the point in world coordinates that was touched
-
getElevationMode
Description copied from class:ALspWorldTouchInfoReturns the elevation mode that was used to paint the touched geometry.- Specified by:
getElevationModein classALspWorldTouchInfo- Returns:
- The elevation mode.
-
clone
Description copied from class:ALspTouchInfoReturns a clone of this object. The default implementation delegates toObject.clone().- Specified by:
clonein interfaceILcdCloneable- Overrides:
clonein classALspWorldTouchInfo- Returns:
- a clone of this object.
- See Also:
-
toString
-