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
Inherited by:
GKPedestrianExitCentroid,GKPedestrianEntranceCentroidSynopsis¶
Methods¶
def
__init__()def
getAngle()def
getDragState()def
getHeight()def
getWidth()def
selectPoint()def
setAngle()def
setDragState()def
setHeight()def
setWidth()def
unselectPoints()
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()¶
- getConnectedStop()¶
- Return type:
GKBusStop
- getPedestrianArea()¶
- Return type:
- 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:
area –
GKPedestrianArea
- setWidth(awidth)¶
- Parameters:
awidth – float
- unselectPoints()¶