View Javadoc

1   /*
2    * Created on Dec 17, 2003
3    * 
4    * Copyright (c) 2003, 2004 Delft University of Technology Jaffalaan 5, 2628 BX
5    * Delft, the Netherlands All rights reserved.
6    * 
7    * This software is proprietary information of Delft University of Technology
8    * The code is published under the General Public License
9    */
10  
11  package nl.tudelft.simulation.traffic.controlpoint.real;
12  
13  import nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface;
14  
15  /***
16   * This interface is used to signify that the implementing class can be seen by
17   * the VehicleControl. A vehicleControl bases his behavior on the objects it can
18   * see. The only objects a vehicleControl can see, are instances of a class that
19   * implements the VisibleControlPointInterface. If a class does not implement
20   * this interface, then it won't be seen by a vehicleControl, hence a
21   * vehicleControl will not base it's behavior on it. <br>
22   */
23  public interface VisibleControlPointInterface extends ControlPointInterface
24  {
25      /***
26       * The visibleDistance parameter defines the distance from which the
27       * ControlPoint becomes visible. This distance is defined along the
28       * infrastructure, in the opposite direction for which the visible defines a
29       * rule.
30       * 
31       * @return the visible distance
32       */
33      public double getVisibleDistance();
34  }