Subgroup: Spatial

Class: QgsSpatialIndexKDBushData

class qgis.core.QgsSpatialIndexKDBushData(id: int, x: float, y: float)

Bases: sip.wrapper

Constructor for QgsSpatialIndexKDBushData, for a feature with the given id and x, y coordinate.

QgsSpatialIndexKDBushData(QgsSpatialIndexKDBushData)

A container for data stored inside a QgsSpatialIndexKDBush index.

New in version 3.4: Methods

point Returns the indexed point.

Signals

Attributes

qgis.core.QgsSpatialIndexKDBushData.id
id
point(self) → QgsPointXY

Returns the indexed point.