Package de.tudresden.sumo.cmd
Class Junction
java.lang.Object
de.tudresden.sumo.cmd.Junction
- Author:
- Mario Krumnow, Evamarie Wiessner
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SumoCommandReturns the number of all junctions in the network.static SumoCommandReturns a list of IDs of all junctions within the scenario.static SumoCommandgetPosition(String junctionID) Returns the position of the named junction.static SumoCommandgetShape
- 
Constructor Details- 
Junctionpublic Junction()
 
- 
- 
Method Details- 
getIDListReturns a list of IDs of all junctions within the scenario.- Returns:
- list of IDs of all junctions in the network
 
- 
getIDCountReturns the number of all junctions in the network.- Returns:
- the number of junctions
 
- 
getPositionReturns the position of the named junction.- Parameters:
- junctionID- a string identifying the junction
- Returns:
- the coordinates of the center of the junction
 
- 
getShapegetShape- Parameters:
- junctionID- a string identifying the junction
- Returns:
- the shape
 
 
-