PyANGKernel.GKCentroidNewCmd

class GKCentroidNewCmd

Creates a centroid: an origin and/or destination of trips.

Inheritance diagram of PyANGKernel.GKCentroidNewCmd

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__()
setData(p, conf)
Parameters:

Sets the position and the centroid configuration

setLayer(layer)
Parameters:

layerGKLayer

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.