PyGKPedestrians.GKPedestrianArea

class GKPedestrianArea

Area that defines the available space for pedestrians

Inheritance diagram of PyGKPedestrians.GKPedestrianArea

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__()
addCentroid(arg__1)
Parameters:

arg__1GKPedestrianCentroid

addDecisionNode(arg__1)
Parameters:

arg__1GKPedestrianDecisionNode

addLevelChangeObject(arg__1)
Parameters:

arg__1GKPedestrianLevelChangeObject

addObstacle(obstacle, originObj)
Parameters:

associates the pedestrian obstacle with the origin object. OriginObj can be NULL because not all pedestrian obstacle must be generated from an existing geoobject. Note that origin object cannot be a pedestrian obstacle

addServicePoint(arg__1)
Parameters:

arg__1GKPedestrianServicePoint

anyExitConnectedToStop(arg__1)
Parameters:

arg__1GKBusStop

Return type:

bool

generateObstaclesFromLayer(layer, minHeight)
Parameters:
  • layerGKLayer

  • minHeight – float

getCentroids()
Return type:

.QSetGKPedestrianCentroid

getDecisionNodes()
Return type:

.QSetGKPedestrianDecisionNode

getLevelChangeObjects()
Return type:

.QSetGKPedestrianLevelChangeObject

getObstacles()
Return type:

.QSetGKPedestrianObstacle

getObstaclesFromObject(geoobj)
Parameters:

geoobjGKGeoObject

Return type:

.QSetGKPedestrianObstacle

getOriginObject(obstacle)
Parameters:

obstacleGKPedestrianObstacle

Return type:

GKGeoObject

Returns the origin object of an obstacle. It can return NULL

getServicePoints()
Return type:

.QSetGKPedestrianServicePoint

hasObstacle(obj)
Parameters:

objGKGeoObject

Return type:

bool

Returns if the specified object has an obstacle associated

removeCentroid(arg__1)
Parameters:

arg__1GKPedestrianCentroid

removeDecisionNode(arg__1)
Parameters:

arg__1GKPedestrianDecisionNode

removeLevelChangeObject(arg__1)
Parameters:

arg__1GKPedestrianLevelChangeObject

removeObstacle(obstacle[, obj=NULL])
Parameters:

removes the obstacle, if obj is not NULL then it also removes the association between obj and obstacle

removeObstaclesFromObject(obj[, removeGeoObject=false])
Parameters:

removes all associated obstacles to obj, if any

removeServicePoint(arg__1)
Parameters:

arg__1GKPedestrianServicePoint

removesObstacles()
updateObjectsInside()
usedObject(obj)
Parameters:

objGKGeoObject

Return type:

bool

Returns if the specified object is in the pedestrian area