| QGIS API Documentation 3.99.0-Master (f78f5286a64)
    | 
Convenience class that turns around a vertex and provides information about faces and vertices. More...
#include <qgstopologicalmesh.h>
| Public Member Functions | |
| QgsMeshVertexCirculator (const QgsTopologicalMesh &topologicalMesh, int vertexIndex) | |
| Constructor with topologicalMesh and vertexIndex. | |
| QgsMeshVertexCirculator (const QgsTopologicalMesh::TopologicalFaces &topologicalFaces, int faceIndex, int vertexIndex) | |
| Constructor with topologicFaces, vertexIndex and the index faceIndex of the face containing the vertex. | |
| QgsMeshVertexCirculator (const QgsTopologicalMesh::TopologicalFaces &topologicalFaces, int vertexIndex) | |
| Constructor with topologicFaces, vertexIndex. | |
| QgsMeshFace | currentFace () const | 
| Returns the current face, empty face if the circulator pass a boundary or circulator is invalid. | |
| int | currentFaceIndex () const | 
| Returns the current face index, -1 if the circulator has passed a boundary or circulator is invalid. | |
| int | degree () const | 
| Returns the degree of the vertex, that is the count of other vertices linked. | |
| QList< int > | facesAround () const | 
| Returns all the faces indexes around the vertex. | |
| bool | goBoundaryClockwise () const | 
| Sets the circulator on the boundary face turning clockwise, return false is there isn't boundary face. | |
| bool | goBoundaryCounterClockwise () const | 
| Sets the circulator on the boundary face turning counter clockwise, return false is there isn't boundary face. | |
| bool | isValid () const | 
| Returns whether the vertex circulator is valid. | |
| int | oppositeVertexClockwise () const | 
| Returns the opposite vertex of the current face and on the edge on the side turning clockwise. | |
| int | oppositeVertexCounterClockwise () const | 
| Returns the opposite vertex of the current face and on the edge on the side turning counter clockwise. | |
| int | turnClockwise () const | 
| Turns counter clockwise around the vertex and returns the new current face, -1 if the circulator pass a boundary or circulator is invalid. | |
| int | turnCounterClockwise () const | 
| Turns counter clockwise around the vertex and returns the new current face, -1 if the circulator pass a boundary or circulator is invalid. | |
Convenience class that turns around a vertex and provides information about faces and vertices.
Definition at line 434 of file qgstopologicalmesh.h.
| QgsMeshVertexCirculator::QgsMeshVertexCirculator | ( | const QgsTopologicalMesh & | topologicalMesh, | 
| int | vertexIndex | ||
| ) | 
Constructor with topologicalMesh and vertexIndex.
Definition at line 57 of file qgstopologicalmesh.cpp.
| QgsMeshVertexCirculator::QgsMeshVertexCirculator | ( | const QgsTopologicalMesh::TopologicalFaces & | topologicalFaces, | 
| int | faceIndex, | ||
| int | vertexIndex | ||
| ) | 
Constructor with topologicFaces, vertexIndex and the index faceIndex of the face containing the vertex.
Definition at line 76 of file qgstopologicalmesh.cpp.
| QgsMeshVertexCirculator::QgsMeshVertexCirculator | ( | const QgsTopologicalMesh::TopologicalFaces & | topologicalFaces, | 
| int | vertexIndex | ||
| ) | 
Constructor with topologicFaces, vertexIndex.
Definition at line 88 of file qgstopologicalmesh.cpp.
| QgsMeshFace QgsMeshVertexCirculator::currentFace | ( | ) | const | 
Returns the current face, empty face if the circulator pass a boundary or circulator is invalid.
Definition at line 140 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::currentFaceIndex | ( | ) | const | 
Returns the current face index, -1 if the circulator has passed a boundary or circulator is invalid.
Definition at line 135 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::degree | ( | ) | const | 
Returns the degree of the vertex, that is the count of other vertices linked.
Definition at line 250 of file qgstopologicalmesh.cpp.
| QList< int > QgsMeshVertexCirculator::facesAround | ( | ) | const | 
Returns all the faces indexes around the vertex.
Definition at line 223 of file qgstopologicalmesh.cpp.
| bool QgsMeshVertexCirculator::goBoundaryClockwise | ( | ) | const | 
Sets the circulator on the boundary face turning clockwise, return false is there isn't boundary face.
Definition at line 148 of file qgstopologicalmesh.cpp.
| bool QgsMeshVertexCirculator::goBoundaryCounterClockwise | ( | ) | const | 
Sets the circulator on the boundary face turning counter clockwise, return false is there isn't boundary face.
Definition at line 165 of file qgstopologicalmesh.cpp.
| bool QgsMeshVertexCirculator::isValid | ( | ) | const | 
Returns whether the vertex circulator is valid.
Definition at line 218 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::oppositeVertexClockwise | ( | ) | const | 
Returns the opposite vertex of the current face and on the edge on the side turning clockwise.
Definition at line 182 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::oppositeVertexCounterClockwise | ( | ) | const | 
Returns the opposite vertex of the current face and on the edge on the side turning counter clockwise.
Definition at line 200 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::turnClockwise | ( | ) | const | 
Turns counter clockwise around the vertex and returns the new current face, -1 if the circulator pass a boundary or circulator is invalid.
Definition at line 117 of file qgstopologicalmesh.cpp.
| int QgsMeshVertexCirculator::turnCounterClockwise | ( | ) | const | 
Turns counter clockwise around the vertex and returns the new current face, -1 if the circulator pass a boundary or circulator is invalid.
Definition at line 99 of file qgstopologicalmesh.cpp.