Class: QgsGeometryConstPartIterator¶
-
class
qgis.core.
QgsGeometryConstPartIterator
¶ Bases:
sip.wrapper
Constructor for QgsGeometryConstPartIterator
QgsGeometryConstPartIterator(geometry:
QgsAbstractGeometry
) Constructs iterator for the given geometryQgsGeometryConstPartIterator(
QgsGeometryConstPartIterator
)Java-style iterator for const traversal of parts of a geometry
Methods
Find out whether there are more parts
Returns next part of the geometry (undefined behavior if
hasNext()
returnsFalse
before callingnext()
)-
hasNext
(self) → bool¶ Find out whether there are more parts
- Return type
bool
-
next
(self) → QgsAbstractGeometry¶ Returns next part of the geometry (undefined behavior if
hasNext()
returnsFalse
before callingnext()
)- Return type
-