Class: QgsSurface

class qgis.core.QgsSurface

Bases: QgsAbstractGeometry

QgsSurface(QgsSurface)

Methods

boundingBox

Returns the minimal bounding box for the geometry

calculateBoundingBox

childCount

childGeometry

childPoint

clearCache

hasChildGeometries

setZMTypeFromSubGeometry

surfaceToPolygon

Gets a polygon representation of this surface.

boundingBox(self) → QgsRectangle

Returns the minimal bounding box for the geometry

Return type

QgsRectangle

calculateBoundingBox()
childCount()
childGeometry()
childPoint()
clearCache(self)
hasChildGeometries()
setZMTypeFromSubGeometry()
surfaceToPolygon(self) → QgsPolygon

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

Return type

QgsPolygon