Class: QgsVertexIterator¶
- class qgis.core.QgsVertexIterator¶
Bases:
sip.wrapper
Constructor for QgsVertexIterator
QgsVertexIterator(geometry:
QgsAbstractGeometry
) Constructs iterator for the given geometryQgsVertexIterator(
QgsVertexIterator
)Java-style iterator for traversal of vertices of a geometry
New in version 3.0:
Methods
Find out whether there are more vertices
Returns next vertex of the geometry (undefined behavior if
hasNext()
returnsFalse
before callingnext()
)- hasNext(self) bool ¶
Find out whether there are more vertices
- Return type
bool