16 #ifndef QGSSPATIALINDEX_H
17 #define QGSSPATIALINDEX_H
20 namespace SpatialIndex
22 class IStorageManager;
27 namespace StorageManager
38 #include <QSharedDataPointer>
75 QList<QgsFeatureId> intersects(
QgsRectangle rect )
const;
78 QList<QgsFeatureId> nearestNeighbor(
QgsPoint point,
int neighbors )
const;
87 static SpatialIndex::Region rectToRegion(
QgsRectangle rect );
93 QSharedDataPointer<QgsSpatialIndexData>
d;
A rectangle specified with double values.
QSharedDataPointer< QgsSpatialIndexData > d
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.
A class to represent a point geometry.