| 
    QGIS API Documentation 3.99.0-Master (f78f5286a64)
    
   | 
 
Java-style iterator for traversal of vertices of a geometry. More...
#include <qgsabstractgeometry.h>
Public Member Functions | |
| QgsVertexIterator ()=default | |
| QgsVertexIterator (const QgsAbstractGeometry *geometry) | |
| Constructs iterator for the given geometry.   | |
| bool | hasNext () const | 
| Find out whether there are more vertices.   | |
| QgsPoint | next () | 
Returns next vertex of the geometry (undefined behavior if hasNext() returns false before calling next())   | |
Java-style iterator for traversal of vertices of a geometry.
Definition at line 1213 of file qgsabstractgeometry.h.
      
  | 
  default | 
      
  | 
  inline | 
Constructs iterator for the given geometry.
Definition at line 1220 of file qgsabstractgeometry.h.
      
  | 
  inline | 
Find out whether there are more vertices.
Definition at line 1228 of file qgsabstractgeometry.h.
| QgsPoint QgsVertexIterator::next | ( | ) | 
Returns next vertex of the geometry (undefined behavior if hasNext() returns false before calling next()) 
Definition at line 546 of file qgsabstractgeometry.cpp.