PyGKPedestrians.GKPedestrianCentroid

class GKPedestrianCentroid

Base class for pedestrian centroids

Details

Area points distribution

1–x1–2 | | | | x0 x2 | | | | 0–x3–3

x points are drawable

Inheritance diagram of PyGKPedestrians.GKPedestrianCentroid

Inherited by: GKPedestrianExitCentroid, GKPedestrianEntranceCentroid

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

float

getConnectedStop()
Return type:

GKBusStop

getDragState()
Return type:

bool

getDrawablePoints()
Return type:

GKPoints

getHeight()
Return type:

float

getPedestrianArea()
Return type:

GKPedestrianArea

getWidth()
Return type:

float

hasPTStopAssociated()
Return type:

bool

isLinkedToPTStop(stop)
Parameters:

stopGKBusStop

Return type:

bool

isPointSelected(pos)
Parameters:

pos – int

Return type:

bool

recalculateAreaPoints()
recalculateDrawablePoints()
selectPoint(pos, value)
Parameters:
  • pos – int

  • value – bool

setAngle(_angle)
Parameters:

_angle – float

setDragState(_state)
Parameters:

_state – bool

setHeight(aheight)
Parameters:

aheight – float

setPTStopAssociated(value)
Parameters:

value – bool

setPedestrianArea(area)
Parameters:

areaGKPedestrianArea

setWidth(awidth)
Parameters:

awidth – float

unselectPoints()