QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
|
Java-style iterator for const traversal of parts of a geometry. More...
#include <qgsabstractgeometry.h>
Public Member Functions | |
QgsGeometryConstPartIterator ()=default | |
Constructor for QgsGeometryConstPartIterator. More... | |
QgsGeometryConstPartIterator (const QgsAbstractGeometry *geometry) | |
Constructs iterator for the given geometry. More... | |
bool | hasNext () const SIP_HOLDGIL |
Find out whether there are more parts. More... | |
const QgsAbstractGeometry * | next () |
Returns next part of the geometry (undefined behavior if hasNext() returns false before calling next()) More... | |
Java-style iterator for const traversal of parts of a geometry.
Definition at line 1258 of file qgsabstractgeometry.h.
|
default |
Constructor for QgsGeometryConstPartIterator.
|
inline |
Constructs iterator for the given geometry.
Definition at line 1265 of file qgsabstractgeometry.h.
|
inline |
Find out whether there are more parts.
Definition at line 1273 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 616 of file qgsabstractgeometry.cpp.