QgsSpatialIndexKDBushData class

A container for data stored inside a QgsSpatialIndexKDBush index.

Constructors, destructors, conversion operators

QgsSpatialIndexKDBushData(QgsFeatureId id, double x, double y)
Constructor for QgsSpatialIndexKDBushData, for a feature with the given id and x, y coordinate.

Public functions

auto point() const -> QgsPointXY
Returns the indexed point.

Public variables

std::pair<double, double> coords
Pair of coordinate data.
QgsFeatureId id
Feature ID.

Variable documentation

std::pair<double, double> QgsSpatialIndexKDBushData::coords

Pair of coordinate data.