16 #ifndef QGSSPATIALINDEX_H
17 #define QGSSPATIALINDEX_H
20 namespace SpatialIndex
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;