16 #ifndef QGSSPATIALINDEX_H 17 #define QGSSPATIALINDEX_H 25 class IStorageManager;
30 namespace StorageManager
41 #include "qgis_core.h" 44 #include <QSharedDataPointer> 115 bool insertFeature(
const QgsFeature &feature );
127 bool deleteFeature(
const QgsFeature &feature );
139 QList<QgsFeatureId> intersects(
const QgsRectangle &rectangle )
const;
148 QList<QgsFeatureId> nearestNeighbor(
const QgsPointXY &point,
int neighbors )
const;
157 static SpatialIndex::Region rectToRegion(
const QgsRectangle &rect );
184 QSharedDataPointer<QgsSpatialIndexData> d;
Wrapper for iterator of features from vector data provider or vector layer.
A rectangle specified with double values.
A class to represent a 2D point.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Base class for feedback objects to be used for cancelation of something running in a worker thread...
Data of spatial index that may be implicitly shared.
Utility class for bulk loading of R-trees.
A spatial index for QgsFeature objects.
An interface for objects which provide features via a getFeatures method.
#define SIP_PYALTERNATIVETYPE(type)