PyANGKernel.GKCentroidNewCmd¶
- class GKCentroidNewCmd¶
Creates a centroid: an origin and/or destination of trips.
Synopsis¶
Methods¶
def
__init__()def
setData()def
setLayer()
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__()¶
- setData(p, conf)¶
- Parameters:
p –
GKPointconf –
GKCentroidConfiguration
Sets the position and the centroid configuration
Sets the layer of the centroid. If not set it will use the active layer.
- setUpdateMatrices(update)¶
- Parameters:
update – bool
If set to true, the command will not add the centroid to any of the ODMatrix, * leaving them in an inconsistent state. * The default value is true.