| |
- add(polygonID, shape, color, fill=False, polygonType='', layer=0)
- getColor(polygonID)
- getColor(string) -> (integer, integer, integer, integer)
.
- getContextSubscriptionResults(polygonID=None)
- getIDList()
- getIDList() -> list(string)
Returns a list of all polygons in the network.
- getShape(polygonID)
- getShape(string) -> list((double, double))
.
- getSubscriptionResults(polygonID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given poi.
If no polygon id is given, all subscription results are returned in a dict.
If the polygon id is unknown or the subscription did for any reason return no data,
'None' is returned.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- getType(polygonID)
- getType(string) -> string
.
- remove(polygonID, layer=0)
- setColor(polygonID, color)
- setShape(polygonID, shape)
- setType(polygonID, polygonType)
- subscribe(polygonID, varIDs=(78,), begin=0, end=2147483647)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more polygon values for the given interval.
A call to this method clears all previous subscription results.
- subscribeContext(polygonID, domain, dist, varIDs=(78,), begin=0, end=2147483647)
|