PyMacroKernelPlugin.CMacroTurning¶
- class CMacroTurning¶
-
Synopsis¶
Methods¶
def
__init__()def
getCapacity()def
getCycle()def
getGreenTime()def
getJDFunction()def
getNode()def
getSpeed()def
length2D()def
length3D()def
setCapacity()
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 macro representation of a
GKTurningin the macro model when doing an assignment.Gets the additional volume.
Gets the turn capacity, in PCUs/h.
- getControlJunctionType()¶
- Return type:
Gets the control junction type, or the control junction type of the last control plan in the master control plan.
- getCostFunction()¶
- Return type:
GKFunctionCost
Gets the cycle time [s].
Gets the capacity of the destination section, in PCUs/h.
Gets the normal green-time for this turn [s].
- getJDFunction()¶
- Return type:
GKFunctionCost
Gets the maximum green-time for this turn [s].
Gets the minimum green-time for this turn [s]. For actuated phases with recall Max it will add the maximum green time of the phase. For actuated phases with recall No it will not add any time to the min green time.
Gets the capacity of the origin section, in PCUs/h.
Gets the allowed speed of this turn [km/h].
Gets duration of time with no control defined (Uncontrolled or Unspecified).
Gets the user-defined cost.
Gets the user-defined cost 2.
Gets the user-defined cost 3.
- getWarningIndicator()¶
- Return type:
Gets the warning indicator
Gets the yellow-time for this turn [s].
Gets the turn 2D length in meters.
Gets the turn 3D length in meters.
- setCapacity(capacity)¶
- Parameters:
capacity – float
Sets the turn capacity, in PCUs/h.