public class TLspWorldTouchInfo extends ALspWorldTouchInfo
ALspWorldTouchInfo
.Constructor and Description |
---|
TLspWorldTouchInfo(Object aDomainObject,
ILcdPoint aWorldPoint,
ILspWorldElevationStyle.ElevationMode aElevationMode)
Constructs a new world touch info.
|
Modifier and Type | Method and Description |
---|---|
TLspWorldTouchInfo |
clone()
Returns a clone of this object.
|
Object |
getDomainObject()
Returns the domain object.
|
ILspWorldElevationStyle.ElevationMode |
getElevationMode()
Returns the elevation mode that was used to paint the touched geometry.
|
ILcdPoint |
getTouchedWorldPoint()
Returns the point in world coordinates that was touched.
|
void |
set(Object aDomainObject,
ILcdPoint aWorldPoint,
ILspWorldElevationStyle.ElevationMode aElevationMode)
Sets the world touch info.
|
String |
toString() |
public TLspWorldTouchInfo(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode)
aDomainObject
- the touched objectaWorldPoint
- the point in world coordinates that was touchedaElevationMode
- indicates the elevation mode of the touched representationpublic void set(Object aDomainObject, ILcdPoint aWorldPoint, ILspWorldElevationStyle.ElevationMode aElevationMode)
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.public Object getDomainObject()
ALspTouchInfo
getDomainObject
in class ALspTouchInfo
public ILcdPoint getTouchedWorldPoint()
ALspWorldTouchInfo
getTouchedWorldPoint
in class ALspWorldTouchInfo
public ILspWorldElevationStyle.ElevationMode getElevationMode()
ALspWorldTouchInfo
getElevationMode
in class ALspWorldTouchInfo
public TLspWorldTouchInfo clone()
ALspTouchInfo
Object.clone()
.clone
in interface ILcdCloneable
clone
in class ALspWorldTouchInfo
Object.clone()