Subgroup: Multi

Class: QgsMultiLineString

class qgis.core.QgsMultiLineString

Bases: qgis._core.QgsMultiCurve

Multi line string 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
calculateBoundingBox()
childCount()
childGeometry()
childPoint()
clear(self)
clearCache()
clone(self) → QgsMultiLineString
createEmptyWithSameType(self) → QgsMultiLineString
fromCollectionWkt()
fromWkt(self, wkt: str) → bool
geometryType(self) → str
hasChildGeometries()
insertGeometry(self, g: QgsAbstractGeometry, index: int) → bool
setZMTypeFromSubGeometry()
toCurveType(self) → QgsMultiCurve

Returns the geometry converted to the more generic curve type QgsMultiCurve

Returns:the converted geometry. Caller takes ownership*
wktOmitChildType(self) → bool