Subgroup: Vertex
Class: QgsVertexIterator¶
-
class
qgis.core.
QgsVertexIterator
¶ Bases:
sip.wrapper
Java-style iterator for traversal of vertices of a geometry
New in version 3.0: Methods
hasNext
Find out whether there are more vertices next
Return next vertex of the geometry (undefined behavior if hasNext() returns false before calling next()) Attributes
-
hasNext
(self) → bool¶ Find out whether there are more vertices
-
next
(self) → QgsPoint¶ Return next vertex of the geometry (undefined behavior if hasNext() returns false before calling next())
-