Class: QgsMultiPoint

class qgis.core.QgsMultiPoint

Bases: QgsGeometryCollection

Multi point geometry collection.

Methods

addGeometry

param g

asGml2

param doc

asGml3

param doc

boundary

rtype

QgsAbstractGeometry

calculateBoundingBox

childCount

childGeometry

childPoint

clear

clearCache

clone

rtype

QgsMultiPoint

createEmptyWithSameType

rtype

QgsMultiPoint

fromCollectionWkt

fromWkt

param wkt

geometryType

rtype

str

hasChildGeometries

insertGeometry

param g

isValid

param flags

nCoordinates

rtype

int

segmentLength

param startVertex

setZMTypeFromSubGeometry

toCurveType

rtype

QgsMultiPoint

vertexNumberFromVertexId

param id

wktOmitChildType

rtype

bool

addGeometry(self, g: QgsAbstractGeometry) → bool
Parameters

g (QgsAbstractGeometry) –

Return type

bool

asGml2(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement
Parameters
  • doc (QDomDocument) –

  • precision (int = 17) –

  • ns (str = '') –

  • axisOrder (QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) –

Return type

QDomElement

asGml3(self, doc: QDomDocument, precision: int = 17, ns: str = '', axisOrder: QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) → QDomElement
Parameters
  • doc (QDomDocument) –

  • precision (int = 17) –

  • ns (str = '') –

  • axisOrder (QgsAbstractGeometry.AxisOrder = QgsAbstractGeometry.AxisOrder.XY) –

Return type

QDomElement

boundary(self) → QgsAbstractGeometry
Return type

QgsAbstractGeometry

calculateBoundingBox()
childCount()
childGeometry()
childPoint()
clear(self)
clearCache()
clone(self) → QgsMultiPoint
Return type

QgsMultiPoint

createEmptyWithSameType(self) → QgsMultiPoint
Return type

QgsMultiPoint

fromCollectionWkt()
fromWkt(self, wkt: str) → bool
Parameters

wkt (str) –

Return type

bool

geometryType(self) → str
Return type

str

hasChildGeometries()
insertGeometry(self, g: QgsAbstractGeometry, index: int) → bool
Parameters
Return type

bool

isValid(self, flags: int = 0) → Tuple[bool, str]
Parameters

flags (int = 0) –

Return type

Tuple[bool, str]

nCoordinates(self) → int
Return type

int

segmentLength(self, startVertex: QgsVertexId) → float
Parameters

startVertex (QgsVertexId) –

Return type

float

setZMTypeFromSubGeometry()
toCurveType(self) → QgsMultiPoint
Return type

QgsMultiPoint

vertexNumberFromVertexId(self, id: QgsVertexId) → int
Parameters

id (QgsVertexId) –

Return type

int

wktOmitChildType(self) → bool
Return type

bool