18#ifndef QGSSPATIALINDEXKDBUSH_H
19#define QGSSPATIALINDEXKDBUSH_H
24class QgsSpatialIndexKDBushPrivate;
110 QList<QgsSpatialIndexKDBushData> intersects(
const QgsRectangle &rectangle )
const;
123 QList<QgsSpatialIndexKDBushData> within(
const QgsPointXY &point,
double radius )
const;
141 QgsSpatialIndexKDBushPrivate *d =
nullptr;
143 friend class TestQgsSpatialIndexKdBush;
Wrapper for iterator of features from vector data provider or vector layer.
An interface for objects which provide features via a getFeatures method.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Base class for feedback objects to be used for cancellation of something running in a worker thread.
A class to represent a 2D point.
A rectangle specified with double values.
A container for data stored inside a QgsSpatialIndexKDBush index.
A very fast static spatial index for 2D points based on a flat KD-tree.
QgsSpatialIndexKDBush(QgsFeatureIterator &fi, const std::function< bool(const QgsFeature &) > &callback, QgsFeedback *feedback=nullptr)
Constructor - creates KDBush index and bulk loads it with features from the source.
unsigned long long qgssize
Qgssize is used instead of size_t, because size_t is stdlib type, unknown by SIP, and it would be har...