16 #ifndef QGSMESHSPATIALINDEX_H
17 #define QGSMESHSPATIALINDEX_H
26 #include "qgis_core.h"
28 #include <QSharedDataPointer>
31 class QgsMeshSpatialIndexData;
85 QList<int> intersects(
const QgsRectangle &rectangle )
const;
94 QList<int> nearestNeighbor(
const QgsPointXY &point,
int neighbors )
const;
105 QSharedDataPointer<QgsMeshSpatialIndexData> d;
Base class for feedback objects to be used for cancellation of something running in a worker thread.
A spatial index for QgsMeshFace or QgsMeshEdge objects.
~QgsMeshSpatialIndex()
Destructor finalizes work with spatial index.
A class to represent a 2D point.
A rectangle specified with double values.
Mesh - vertices, edges and faces.
ElementType
Defines type of mesh elements.