PyANGKernel.GKPTSectionData

class GKPTSectionData

a set of consecutive sections between two stops.

Details

See also

GKRoute

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

__init__()
__init__(a)
Parameters:

aGKPTSectionData

__init__(origin, destination, delayFunction, fareFunction, route)
Parameters:
getDelayFunction()
Return type:

GKFunctionCost

get the delay time function

getDestination()
Return type:

GKBusStop

getDistance()
Return type:

float

get the total distance of the transit section

getFareFunction()
Return type:

GKFunctionCost

get the fare function

getOrigin()
Return type:

GKBusStop

getRoute()
Return type:

.list of GKSection

getSpeed(iModelConnection)
Parameters:

iModelConnectionGKModelConnection

Return type:

float

get the mean maximum speed.

usesStops(origin, destination)
Parameters:
Return type:

bool

Returns true if this Transit Section goes from origin to destination