PyMacroKernelPlugin.CMacroSection¶
- class CMacroSection¶
-
Synopsis¶
Methods¶
def
__init__()def
getCapacity()def
getNbFullLanes()def
getRoadType()def
getSpeed()def
length2D()def
length3D()
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
Detailed Description¶
The section representation of a
GKSectionin the macro model when doing an assignment.- __init__(_section, _connection)¶
- Parameters:
_section –
GKSection_connection –
GKModelConnection
get the additional volume assigned to the macro section
get the capacity of the section in the static assignment, in PCUs for the whole demand duration.
- getCostFunction()¶
- Return type:
GKFunctionCost
get the cost function of the macro section
get the number of full lanes of this macro section
- getRoadType()¶
- Return type:
GKRoadType
get the road type for this section
get the allowed speed of the macro section
get the user-defined cost
get the user-defined cost 2
get the user-defined cost 3
get section length in meters
get section length in meters