public class Person
extends Object
| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
static SumoCommand |
getAngle(String personID)
get angle
|
static SumoCommand |
getColor(String personID)
get color
|
static SumoCommand |
getIDCount()
Returns the number of all persons in the network.
|
static SumoCommand |
getIDList()
Returns a list of personIDs of all persons
|
static SumoCommand |
getLanePosition(String personID)
get lane position
|
static SumoCommand |
getLength(String personID)
get length
|
static SumoCommand |
getMinGap(String personID)
get minGap
|
static SumoCommand |
getNextEdge(String personID)
If the person is walking, returns the next edge on the persons route (including crossing and walkingareas).
|
static SumoCommand |
getParameter(String personID,
String param)
Returns the chosen parameter
|
static SumoCommand |
getPersonNumber(String personID)
get person number
|
static SumoCommand |
getPosition(String personID)
get position
|
static SumoCommand |
getPosition3D(String personID)
get position3D
|
static SumoCommand |
getRoadID(String personID)
get road ID
|
static SumoCommand |
getSpeed(String personID)
get speed
|
static SumoCommand |
getTypeID(String personID)
get type ID
|
static SumoCommand |
getWaitingTime(String personID)
get waiting time
|
static SumoCommand |
getWidth(String personID)
get wpersonIDth
|
public static SumoCommand getIDCount()
public static SumoCommand getIDList()
public static SumoCommand getNextEdge(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getParameter(String personID, String param)
personID - a string personIDentifying the personparam - a string personIDentifying the parameterpublic static SumoCommand getSpeed(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getPosition(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getPosition3D(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getAngle(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getRoadID(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getTypeID(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getLanePosition(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getColor(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getPersonNumber(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getLength(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getWaitingTime(String personID)
personID - a string personIDentifying the personpublic static SumoCommand getWidth(String personID)
personID - a string identifying the personpublic static SumoCommand getMinGap(String personID)
personID - a string personIDentifying the person