nl.tudelft.simulation.traffic.controlpoint.real
Interface VisibleControlPointInterface

All Superinterfaces:
ControlPointInterface, nl.tudelft.simulation.dsol.animation.LocatableInterface
All Known Subinterfaces:
SpeedLimitInterface, StopSignInterface
All Known Implementing Classes:
AbstractVisibleControlPoint, BlockTrafficLight, SingleTrackBlockTrafficLight, SpeedSign, StationHaltingTrafficLight, SwitchBlockTrafficLight, TrafficLight

public interface VisibleControlPointInterface
extends ControlPointInterface

This interface is used to signify that the implementing class can be seen by the VehicleControl. A vehicleControl bases his behavior on the objects it can see. The only objects a vehicleControl can see, are instances of a class that implements the VisibleControlPointInterface. If a class does not implement this interface, then it won't be seen by a vehicleControl, hence a vehicleControl will not base it's behavior on it.


Field Summary
 
Fields inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface
BACK, FRONT
 
Method Summary
 double getVisibleDistance()
          The visibleDistance parameter defines the distance from which the ControlPoint becomes visible.
 
Methods inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface
getProgression, getTrack, pass
 
Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface
getBounds, getLocation
 

Method Detail

getVisibleDistance

public double getVisibleDistance()
The visibleDistance parameter defines the distance from which the ControlPoint becomes visible. This distance is defined along the infrastructure, in the opposite direction for which the visible defines a rule.

Returns:
the visible distance


Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.