Class: QgsSpatialIndexKDBushData

A container for data stored inside a QgsSpatialIndexKDBush index.

Added in version 3.4.

Methods

point

Returns the indexed point.

Attributes

id

Feature ID

class qgis.core.QgsSpatialIndexKDBushData[source]

Bases: object

__init__(id: int, x: float, y: float)

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

Parameters:
  • id (int)

  • x (float)

  • y (float)

__init__(a0: QgsSpatialIndexKDBushData)
Parameters:

a0 (QgsSpatialIndexKDBushData)

id: QgsFeatureId

Feature ID

point(self) QgsPointXY[source]

Returns the indexed point.

Return type:

QgsPointXY