16#ifndef QGSMESHSPATIALINDEX_H
17#define QGSMESHSPATIALINDEX_H
28#include <QSharedDataPointer>
31class QgsMeshSpatialIndexData;
85 QList<int> intersects(
const QgsRectangle &rectangle )
const;
94 QList<int> nearestNeighbor(
const QgsPointXY &point,
int neighbors )
const;
106 void addFace(
int faceIndex,
const QgsMesh &mesh );
111 void removeFace(
int faceIndex,
const QgsMesh &mesh );
116 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.