Class: QgsSpatialIndexKDBushData

class qgis.core.QgsSpatialIndexKDBushData

Bases: sip.wrapper

A container for data stored inside a QgsSpatialIndexKDBush index.

New in version 3.4.

QgsSpatialIndexKDBushData(id: int, x: float, y: float) Constructor for QgsSpatialIndexKDBushData, for a feature with the given id and x, y coordinate.

QgsSpatialIndexKDBushData(QgsSpatialIndexKDBushData)

Methods

point

Returns the indexed point.

Attributes

id
point(self) QgsPointXY

Returns the indexed point.

Return type

QgsPointXY