PyANGDTA.DTACentroid¶
- class DTACentroid¶
-
Synopsis¶
Methods¶
def
__init__()def
hasExitSection()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
- __init__(centroid, modelConnection, manager)
- Parameters:
centroid –
GKCentroidmodelConnection –
GKModelConnectionmanager –
DTAManager
- evaluateRouteChoiceFunction(manager, origin, path, entranceSection, vehType, rcType, context)¶
- Parameters:
manager –
DTAManagerorigin –
DTACentroidpath –
DTAGenericPathentranceSection –
DTASectionvehType –
DTAVehicleTypercType –
RouteChoiceTypecontext –
GKFunctionCostContext
- Return type:
- getEntranceConnector(asect)¶
- Parameters:
asect –
DTASection- Return type:
- getEntranceSection(pos)¶
- Parameters:
pos – int
- Return type:
- getExitConnector(asect)¶
- Parameters:
asect –
DTASection- Return type:
- getExitSection_(pos)¶
- Parameters:
pos – int
- Return type:
- getRelatedCentroid()¶
- Return type:
- hasExitSection(sect)¶
- Parameters:
sect –
DTASection- Return type:
- hasReservedEntranceConnection(network, pos)¶
- Parameters:
network –
DTANetworkpos – int
- Return type:
- hasReservedExitConnection(network, pos)¶
- Parameters:
network –
DTANetworkpos – int
- Return type:
- isValidEntranceConnectorForVehicleType(pos, vehType)¶
- Parameters:
pos – int
vehType –
DTAVehicleType
- Return type:
- isValidExitConnectorForVehicleType(pos, vehType)¶
- Parameters:
pos – int
vehType –
DTAVehicleType
- Return type: