PyANGKernel.GKPTStation

class GKPTStation

A group of transit stops.

Inheritance diagram of PyANGKernel.GKPTStation

Synopsis

Methods

Static functions

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__()
clearWaitingTimes()
contains(iStop)
Parameters:

iStopGKBusStop

Return type:

bool

static findStation(iStop)
Parameters:

iStopGKBusStop

Return type:

GKPTStation

getLines()
Return type:

.list of GKPublicLine

static getLines(stops)
Parameters:

stops – .list of GKBusStop

Return type:

.list of GKPublicLine

getSections()
Return type:

.QSetGKSection

getStops()
Return type:

.list of GKBusStop

getWaitingTime(iFromLine, iToLine)
Parameters:
Return type:

float

getWalkingTime()
Return type:

GKWalkingTime

setStops(stops)
Parameters:

stops – .list of GKBusStop

setWaitingTime(iFromLine, iToLine, iWaitingTime)
Parameters:
setWalkingTime(w)
Parameters:

wGKWalkingTime

updatePoints()

Update the points of the station to cover all the stops of the group.