Modifier and Type | Method and Description |
---|---|
Position |
ContextManager.getDevicePosition(String deviceId)
Returns current position of specified device.
|
Modifier and Type | Method and Description |
---|---|
Zone |
ContextManager.createZone(String id,
Position center,
int detectionScope)
Creates a new rectangular zone using a center position.
|
Zone |
ContextManager.getZoneFromPosition(Position position)
Gets the zone containing this position.
|
void |
ContextManager.setDevicePosition(String deviceId,
Position position)
Sets the device position.
|
Modifier and Type | Method and Description |
---|---|
void |
LocatedDeviceManager.movedDevice(LocatedDevice device,
Position oldPosition,
Position newPosition) |
Modifier and Type | Method and Description |
---|---|
void |
EmptyLocatedDeviceListener.deviceMoved(LocatedDevice device,
Position oldPosition,
Position newPosition) |
void |
LocatedDeviceTrackerCustomizer.movedDevice(LocatedDevice device,
Position oldPosition,
Position newPosition) |
void |
LocatedDeviceTracker.movedDevice(LocatedDevice device,
Position oldPosition,
Position newPosition) |
Modifier and Type | Method and Description |
---|---|
Position |
Position.clone()
Clones this point into a new object
|
Position |
LocatedObject.getCenterAbsolutePosition()
Gets the absolute (x,y) point of the object.
|
Position |
Zone.getLeftTopAbsolutePosition()
Gets the absolute (x,y) point in the left-top corner of the zone.
|
Position |
Zone.getLeftTopRelativePosition()
Gets the (x,y) point in the left-top corner of the zone.
|
Position |
Zone.getRelativePosition(LocatedObject object)
Returns relative position of specified object from top left corner of this zone.
|
Position |
Zone.getRightBottomAbsolutePosition()
Gets the absolute (x,y) point in the right-bottom corner of the zone.
|
Position |
Zone.getRightBottomRelativePosition()
Gets the (x,y) point in the right-bottom corner of the zone.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Zone.contains(Position position)
Returns true if a point is geographically contained into the zone.
|
void |
LocatedDeviceListener.deviceMoved(LocatedDevice device,
Position oldPosition,
Position newPosition)
Called callback when a device has been moved.
|
void |
LocatedObject.setCenterAbsolutePosition(Position position)
Sets the absolute (x,y) point of the object.
|
void |
Zone.setLeftTopRelativePosition(Position leftTopPosition)
Sets the relative (x,y) point in the left-top corner of the zone.
|
void |
ZoneListener.zoneMoved(Zone zone,
Position oldPosition,
Position newPosition)
Called callback when the zone has move.
|
Modifier and Type | Method and Description |
---|---|
void |
ZoneTracker.movedZone(Zone zone,
Position oldPosition,
Position newPosition) |
void |
ZoneTrackerCustomizer.movedZone(Zone zone,
Position oldPosition,
Position newPosition) |
void |
EmptyZoneListener.zoneMoved(Zone zone,
Position oldPosition,
Position newPosition)
Called callback when the zone has move.
|
Modifier and Type | Method and Description |
---|---|
void |
SimulationManager.setPersonPosition(String personName,
Position position)
Change the position of a given person.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonListener.personMoved(Person person,
Position oldPosition)
Invoked when a person has been moved, to see the new position invoke the
getCenterAbsolutePosition()
method. |
Modifier and Type | Method and Description |
---|---|
void |
BaseZoneListener.zoneMoved(Zone zone,
Position oldPosition,
Position newPosition) |
Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.