16 #ifndef QGSSPATIALINDEX_H 17 #define QGSSPATIALINDEX_H 22 class IStorageManager;
27 namespace StorageManager
38 #include <QSharedDataPointer> 83 QList<QgsFeatureId> intersects(
QgsRectangle rect )
const;
86 QList<QgsFeatureId> nearestNeighbor(
QgsPoint point,
int neighbors )
const;
91 QAtomicInt refs()
const;
95 static SpatialIndex::Region rectToRegion(
QgsRectangle rect );
103 QSharedDataPointer<QgsSpatialIndexData> d;
Wrapper for iterator of features from vector data provider or vector layer.
A rectangle specified with double values.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
Data of spatial index that may be implicitly shared.
Utility class for bulk loading of R-trees.
A class to represent a point.