QGIS API Documentation  3.17.0-Master (8af46bc54f)
Classes | Namespaces | Macros | Functions
qgstriangularmesh.h File Reference
#include <QVector>
#include <QVector3D>
#include <QSet>
#include <QList>
#include <memory>
#include "qgis_core.h"
#include "qgsmeshdataprovider.h"
#include "qgsgeometry.h"
#include "qgsmeshspatialindex.h"
Include dependency graph for qgstriangularmesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QgsTriangularMesh
 Triangular/Derived Mesh is mesh with vertices in map coordinates. More...
 

Namespaces

 QgsMeshUtils
 

Macros

#define SIP_NO_FILE
 

Functions

bool QgsMeshUtils::isInTriangleFace (const QgsPointXY point, const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
 Tests if point p is on the face defined with vertices. More...
 
CORE_EXPORT QSet< int > QgsMeshUtils::nativeEdgesFromEdges (const QList< int > &edgesIndexes, const QVector< int > &edgesToNativeEdges)
 Returns unique native faces indexes from list of triangle indexes. More...
 
CORE_EXPORT QSet< int > QgsMeshUtils::nativeFacesFromTriangles (const QList< int > &triangleIndexes, const QVector< int > &trianglesToNativeFaces)
 Returns unique native faces indexes from list of triangle indexes. More...
 
CORE_EXPORT QSet< int > QgsMeshUtils::nativeVerticesFromEdges (const QList< int > &edgesIndexes, const QVector< QgsMeshEdge > &edges)
 Returns unique native faces indexes from list of vertices of triangles. More...
 
CORE_EXPORT QSet< int > QgsMeshUtils::nativeVerticesFromTriangles (const QList< int > &triangleIndexes, const QVector< QgsMeshFace > &triangles)
 Returns unique native vertex indexes from list of vertices of triangles. More...
 
CORE_EXPORT QgsGeometry QgsMeshUtils::toGeometry (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
 Returns face as polygon geometry. More...
 
CORE_EXPORT std::unique_ptr< QgsPolygonQgsMeshUtils::toPolygon (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
 Returns face as polygon geometry, caller is responsible for delete. More...
 

Macro Definition Documentation

◆ SIP_NO_FILE

#define SIP_NO_FILE

Definition at line 22 of file qgstriangularmesh.h.