QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
Java-style iterator for traversal of parts of a geometry. More...
#include <qgsabstractgeometry.h>
Public Member Functions | |
QgsGeometryPartIterator ()=default | |
Constructor for QgsGeometryPartIterator. More... | |
QgsGeometryPartIterator (QgsAbstractGeometry *geometry) | |
Constructs iterator for the given geometry. More... | |
bool | hasNext () const SIP_HOLDGIL |
Find out whether there are more parts. More... | |
QgsAbstractGeometry * | next () |
Returns next part of the geometry (undefined behavior if hasNext() returns false before calling next()) More... | |
Java-style iterator for traversal of parts of a geometry.
Definition at line 1236 of file qgsabstractgeometry.h.
|
default |
Constructor for QgsGeometryPartIterator.
|
inline |
Constructs iterator for the given geometry.
Definition at line 1243 of file qgsabstractgeometry.h.
|
inline |
Find out whether there are more parts.
Definition at line 1251 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 476 of file qgsabstractgeometry.cpp.