Subgroup: Vertex

Class: QgsVertexId

class qgis.core.QgsVertexId(_part: int = -1, _ring: int = -1, _vertex: int = -1, _type: QgsVertexId.VertexType = QgsVertexId.SegmentVertex)

Bases: sip.wrapper

QgsVertexId(QgsVertexId)

CurveVertex = 2
SegmentVertex = 1
class VertexType

Bases: int

isValid(self) → bool

Returns true if the vertex id is valid

isValid(self, geom: QgsAbstractGeometry) -> bool

part
partEqual(self, o: QgsVertexId) → bool
ring
ringEqual(self, o: QgsVertexId) → bool
type
vertex
vertexEqual(self, o: QgsVertexId) → bool