Class: QgsAbstractGeometrySimplifier

class qgis.core.QgsAbstractGeometrySimplifier

Bases: sip.wrapper

Abstract base class for simplify geometries using a specific algorithm

Enums

Methods

isGeneralizableByDeviceBoundingBox Returns whether the device-envelope can be replaced by its BBOX when is applied the specified tolerance
simplify Returns a simplified version the specified geometry

Signals

Attributes

isGeneralizableByDeviceBoundingBox(envelope: QgsRectangle, mapToPixelTol: float = 1) → bool

Returns whether the device-envelope can be replaced by its BBOX when is applied the specified tolerance

isGeneralizableByDeviceBoundingBox(points: Iterable[Union[QPointF, QPoint]], mapToPixelTol: float = 1) -> bool Returns whether the device-geometry can be replaced by its BBOX when is applied the specified tolerance

simplify(self, geometry: QgsGeometry) → QgsGeometry

Returns a simplified version the specified geometry