QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
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 "qgstopologicalmesh.h"
#include "qgscoordinatetransform.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::Changes
 The Changes class is used to make changes of the triangular and to keep traces of this changes If a Changes instance is applied (see QgsTriangularMesh::applyChanges()), these changes can be reversed (see QgsTriangularMesh::reverseChanges()) as long as other changes are not applied. More...
 
class  QgsTriangularMesh
 Triangular/Derived Mesh is mesh with vertices in map coordinates. More...
 

Namespaces

 QgsMeshUtils
 

Macros

#define SIP_NO_FILE
 

Functions

CORE_EXPORT QgsMeshVertex QgsMeshUtils::centroid (const QgsMeshFace &face, const QVector< QgsMeshVertex > &vertices)
 Returns the centroid of the face. More...
 
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...
 
void QgsMeshUtils::setCounterClockwise (QgsMeshFace &triangle, const QgsMeshVertex &v0, const QgsMeshVertex &v1, const QgsMeshVertex &v2)
 Checks if the triangle is counter clockwise, if not sets it counter clockwise. 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.