Class: QgsSurface

class qgis.core.QgsSurface

Bases: qgis._core.QgsAbstractGeometry

QgsSurface(QgsSurface)

boundingBox(self) → QgsRectangle
calculateBoundingBox()
childCount()
childGeometry()
childPoint()
clearCache(self)
hasChildGeometries()
isValid(self, flags: int = 0) → Tuple[bool, str]
setZMTypeFromSubGeometry()
surfaceToPolygon(self) → QgsPolygon

Gets a polygon representation of this surface. Ownership is transferred to the caller.