PyANGKernel.GKTurningClosingChange

class GKTurningClosingChange

Inheritance diagram of PyANGKernel.GKTurningClosingChange

Synopsis

Methods

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__()
getDestinationCentroidOrGroup()
Return type:

GKPolygon

Gets the destination centroid or centroid grouping of the vehicles for the turn to be closed. nullptr if for all origins

getFromSection()
Return type:

GKSection

Gets the origin section of the turn to be closed

getOriginCentroidOrGroup()
Return type:

GKPolygon

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.

getToSection()
Return type:

GKSection

Gets the destination section of the turn to be closed

getVisibilityDistance()
Return type:

float

isLocalEffect()
Return type:

bool

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

sectionAffectingPathCosts()
Return type:

GKSection

Gets the section meant to affect the path calculation cost when the path comes from it

setDestinationCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

Sets the destination centroid or centroid grouping of the vehicles for the turn to be closed

setFromSection(section)
Parameters:

sectionGKSection

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

isLocalEffect()

setOriginCentroidOrGroup(centroidOrGroup)
Parameters:

centroidOrGroupGKPolygon

Sets the origin centroid or centroid grouping of the vehicles for the turn to be closed

setSectionAffectingPathCosts(section)
Parameters:

sectionGKSection

Sets the section meant to affect the path calculation cost when the path comes from it

setSpecificLanes(values)
Parameters:

values – .list of uint

What origin lanes are closed. If empty, all of them.

setToSection(section)
Parameters:

sectionGKSection

Sets the destination section of the turn to be closed

setVisibilityDistance(distance)
Parameters:

distance – float