QGIS API Documentation 3.37.0-Master (fdefdf9c27f)
Public Member Functions | Friends | List of all members
QgsTopologicalMesh::TopologicalFaces Class Reference

Class that contains independent faces an topological information about this faces. More...

#include <qgstopologicalmesh.h>

Public Member Functions

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

Friends

class QgsMeshVertexCirculator
 
class QgsTopologicalMesh
 

Detailed Description

Class that contains independent faces an topological information about this faces.

This class supports unique shared vertex between faces

Since
QGIS 3.22

Definition at line 62 of file qgstopologicalmesh.h.

Member Function Documentation

◆ clear()

void QgsTopologicalMesh::TopologicalFaces::clear ( )

Clears all data contained in the instance.

Definition at line 1648 of file qgstopologicalmesh.cpp.

◆ facesNeighborhood()

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

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

Definition at line 1656 of file qgstopologicalmesh.cpp.

◆ meshFaces()

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

Returns faces.

Definition at line 67 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 1661 of file qgstopologicalmesh.cpp.

Friends And Related Function Documentation

◆ QgsMeshVertexCirculator

friend class QgsMeshVertexCirculator
friend

Definition at line 85 of file qgstopologicalmesh.h.

◆ QgsTopologicalMesh

friend class QgsTopologicalMesh
friend

Definition at line 84 of file qgstopologicalmesh.h.


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