QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsTopologicalMesh::TopologicalFaces Class Reference

Contains independent faces and topological information about these faces. More...

#include <qgstopologicalmesh.h>

Public Member Functions

void clear ()
 Clears all data contained in the instance.
QVector< FaceNeighborsfacesNeighborhood () const
 Returns the face neighborhood of the faces, indexing is local.
QVector< QgsMeshFacemeshFaces () const
 Returns faces.
int vertexToFace (int vertexIndex) const
 Returns a face linked to the vertices with index vertexIndex.

Friends

class QgsMeshVertexCirculator
class QgsTopologicalMesh

Detailed Description

Contains independent faces and topological information about these faces.

This class supports unique shared vertices between faces.

Since
QGIS 3.22

Definition at line 60 of file qgstopologicalmesh.h.

Member Function Documentation

◆ clear()

void QgsTopologicalMesh::TopologicalFaces::clear ( )

Clears all data contained in the instance.

Definition at line 1645 of file qgstopologicalmesh.cpp.

◆ facesNeighborhood()

QVector< QgsTopologicalMesh::FaceNeighbors > QgsTopologicalMesh::TopologicalFaces::facesNeighborhood ( ) const

Returns the face neighborhood of the faces, indexing is local.

Note
Not available in Python bindings.

Definition at line 1653 of file qgstopologicalmesh.cpp.

◆ meshFaces()

QVector< QgsMeshFace > QgsTopologicalMesh::TopologicalFaces::meshFaces ( ) const
inline

Returns faces.

Note
Not available in Python bindings.

Definition at line 68 of file qgstopologicalmesh.h.

◆ vertexToFace()

int QgsTopologicalMesh::TopologicalFaces::vertexToFace ( int vertexIndex) const

Returns a face linked to the vertices with index vertexIndex.

Definition at line 1658 of file qgstopologicalmesh.cpp.

◆ QgsMeshVertexCirculator

friend class QgsMeshVertexCirculator
friend

Definition at line 90 of file qgstopologicalmesh.h.

◆ QgsTopologicalMesh

friend class QgsTopologicalMesh
friend

Definition at line 89 of file qgstopologicalmesh.h.


The documentation for this class was generated from the following files: