16#ifndef QGSMESHSPATIALINDEX_H 
   17#define QGSMESHSPATIALINDEX_H 
   28#include <QSharedDataPointer> 
   31class QgsMeshSpatialIndexData;
 
   83    QList<int> intersects( 
const QgsRectangle &rectangle ) 
const;
 
   92    QList<int> nearestNeighbor( 
const QgsPointXY &point, 
int neighbors ) 
const;
 
  104    void addFace( 
int faceIndex, 
const QgsMesh &mesh );
 
  109    void removeFace( 
int faceIndex, 
const QgsMesh &mesh );
 
  114    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 rectangle specified with double values.
 
Mesh - vertices, edges and faces.
 
ElementType
Defines type of mesh elements.