public class BasicXRaySensor extends XRaySensor
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<Luggage> |
checkedLuggage
The bags that are checked already.
|
lastObservedLuggageshapepositionmap| Constructor and Description |
|---|
BasicXRaySensor(java.util.List<Position> corners)
Creates an X-Ray sensor from its corner
Positions. |
| Modifier and Type | Method and Description |
|---|---|
Observation<?> |
getObservation()
Gets an
Observation from the sensor. |
getLastObservedLuggagecontains, contains, generatePosition, generatePosition, generatePositions, generatePositions, getCorners, getVectorToPosition, isCollision, isLineCollision, toStringgetDistance, getPositionisDestroyedprivate java.util.Collection<Luggage> checkedLuggage
public Observation<?> getObservation()
SensorObservation from the sensor.getObservation in class Sensor