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