

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface Intersection
The interface of an intersection
Method Summary  

Constants.TurnDirection 
calcTurnDirection(Lane currentLane,
Lane departureLane)
Get the turn direction of the vehicle at the next intersection. 
Area 
getArea()
Get the Area controlled by this IntersectionManager. 
Area 
getAreaPlus()
Get the area slightly larger than the area controlled by this IntersectionManager. 
Rectangle2D 
getBoundingBox()
Get the minimal rectangular region that encloses the intersection. 
Point2D 
getCentroid()
Get the centroid of the IntersectionManager. 
double 
getEntryHeading(Lane l)
Get the heading at which the given Lane enters the intersection. 
List<Lane> 
getEntryLanes()
Get the Lanes that enter the space governed by this IntersectionManager. 
WayPoint 
getEntryPoint(Lane l)
Get the Point at which the given Lane enters the intersection. 
List<Road> 
getEntryRoads()
Get the Roads that enter the space governed by this IntersectionManager. 
double 
getExitHeading(Lane l)
Get the heading at which the given Lane exits the intersection. 
List<Lane> 
getExitLanes()
Get the Lanes that exit the space governed by this IntersectionManager. 
WayPoint 
getExitPoint(Lane l)
Get the Point at which the given Lane exits the intersection. 
List<Road> 
getExitRoads()
Get the Roads that exit the space governed by this IntersectionManager. 
List<Lane> 
getLanes()
Get the Lanes incident to the space governed by this intersection. 
List<Road> 
getRoads()
Get the Roads incident to the space governed by this intersection. 
boolean 
isEnteredBy(Lane l)
Whether the given Lane enters this intersection. 
boolean 
isExitedBy(Lane l)
Whether the given Lane leaves this intersection. 
Method Detail 

Area getArea()
Area getAreaPlus()
Point2D getCentroid()
Rectangle2D getBoundingBox()
List<Road> getRoads()
List<Lane> getLanes()
List<Road> getEntryRoads()
List<Lane> getEntryLanes()
boolean isEnteredBy(Lane l)
l
 the Lane to consider
WayPoint getEntryPoint(Lane l)
l
 the Lane
null
if it does notdouble getEntryHeading(Lane l)
l
 the Lane
List<Road> getExitRoads()
List<Lane> getExitLanes()
boolean isExitedBy(Lane l)
l
 the Lane to consider
WayPoint getExitPoint(Lane l)
l
 the Lane
null
if it does notdouble getExitHeading(Lane l)
l
 the Lane
Constants.TurnDirection calcTurnDirection(Lane currentLane, Lane departureLane)
currentLane
 the current lane.departureLane
 the departure lane.


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 