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