Class: QgsGeometryPartIterator¶
-
class
qgis.core.
QgsGeometryPartIterator
¶ Bases:
sip.wrapper
Constructor for QgsGeometryPartIterator
QgsGeometryPartIterator(geometry: QgsAbstractGeometry) Constructs iterator for the given geometry
QgsGeometryPartIterator(QgsGeometryPartIterator)
Java-style iterator for traversal of parts of a geometry
New in version 3.6: Enums
Methods
Find out whether there are more parts
Returns next part of the geometry (undefined behavior if hasNext() returns false before calling next())
Signals
Attributes
-
hasNext
(self) → bool¶ Find out whether there are more parts
-
next
(self) → QgsAbstractGeometry¶ Returns next part of the geometry (undefined behavior if hasNext() returns false before calling next())
-