PyANGKernel.GKTurningClosingChange¶
- class GKTurningClosingChange¶
-
Synopsis¶
Methods¶
def
__init__()def
getFromSection()def
getToSection()def
isLocalEffect()def
setFromSection()def
setLocalEffect()def
setToSection()
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¶
Closes the turn specifying the origin section and the destination section.
- __init__()¶
Gets the destination centroid or centroid grouping of the vehicles for the turn to be closed. nullptr if for all origins
Gets the origin section of the turn to be closed
Gets the origin centroid or centroid grouping of the vehicles for the turn to be closed. nullptr if for all origins
- getSpecificLanes()¶
- Return type:
.list of uint
What origin lanes are closed. If empty, all of them.
Gets the destination section of the turn to be closed
Returns true if the action is applied at a local level (that is vehicles, will know the turn is closed when reaching the origin section. and false, when the closure will be considered as having a global effect, and the route choice will totally ignore the turn
Gets the section meant to affect the path calculation cost when the path comes from it
See also
Sets the destination centroid or centroid grouping of the vehicles for the turn to be closed
Sets the origin section of the turn to be closed
- setLocalEffect(local)¶
- Parameters:
local – bool
Sets the action to be applied at a local level (that is vehicles, will know the turn is closed when reaching the origin section. If local is false, then the closure will be considered having a global effect, and the route choice will totally ignore the turn
See also
Sets the origin centroid or centroid grouping of the vehicles for the turn to be closed
Sets the section meant to affect the path calculation cost when the path comes from it
See also
- setSpecificLanes(values)¶
- Parameters:
values – .list of uint
What origin lanes are closed. If empty, all of them.
Sets the destination section of the turn to be closed
- setVisibilityDistance(distance)¶
- Parameters:
distance – float