public class BasicXRaySystem extends XRaySystem
shape
position
map
Constructor and Description |
---|
BasicXRaySystem(java.util.List<Position> systemCornerPoints,
XRaySensor sensor,
Position luggageStart,
Position luggageEnd)
Creates an x-ray system from a set of corner points.
|
BasicXRaySystem(java.util.List<Position> systemCornerPoints,
XRaySensor sensor,
Position luggageStart,
Position luggageEnd,
boolean otherWayAround)
Creates an x-ray system from a set of corner points.
|
addBaggage, collectBaggage, getBaggageInSystem, getCollectPassenger, getCollectPosition, getDropOffPassenger, getDropOffPosition, getEnterPosition, getLeavePosition, getNextCollectIndex, getNextDropOffIndex, getNumberOfCollectIndices, getNumberOfDropoffIndices, getXRaySensor, isOpen, pauseSystem, removeBaggage, setCollectPassenger, setDropOffPassenger, setOpen, update
contains, contains, generatePosition, generatePosition, generatePositions, generatePositions, getCorners, getVectorToPosition, isCollision, isLineCollision, toString
getDistance, getPosition
isDestroyed
public BasicXRaySystem(java.util.List<Position> systemCornerPoints, XRaySensor sensor, Position luggageStart, Position luggageEnd)
systemCornerPoints
- The corner points of the system.sensor
- The sensor.luggageStart
- The starting position of the luggage.luggageEnd
- The ending position of the luggage.public BasicXRaySystem(java.util.List<Position> systemCornerPoints, XRaySensor sensor, Position luggageStart, Position luggageEnd, boolean otherWayAround)
systemCornerPoints
- The corner points of the system.sensor
- The sensor.luggageStart
- The starting position of the luggage.luggageEnd
- The ending position of the luggage.otherWayAround
- An mirrored x-ray or not.