Subgroup: Multi

Class: QgsMultiCurve

class qgis.core.QgsMultiCurve

Bases: qgis._core.QgsGeometryCollection

Multi curve geometry collection.
addGeometry(self, g: QgsAbstractGeometry) → bool
asGml2(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement
asGml3(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement
asJson(self, precision: int = 17) → str
boundary(self) → QgsAbstractGeometry
calculateBoundingBox()
childCount()
childGeometry()
childPoint()
clear(self)
clearCache()
clone(self) → QgsMultiCurve
createEmptyWithSameType(self) → QgsMultiCurve
fromCollectionWkt()
fromWkt(self, wkt: str) → bool
geometryType(self) → str
hasChildGeometries()
insertGeometry(self, g: QgsAbstractGeometry, index: int) → bool
reversed(self) → QgsMultiCurve

Returns a copy of the multi curve, where each component curve has had its line direction reversed.

New in version 2.14.

setZMTypeFromSubGeometry()
toCurveType(self) → QgsMultiCurve
wktOmitChildType()