Class: QgsGeometryCheckContext

class qgis.analysis.QgsGeometryCheckContext

Bases: sip.wrapper

Base configuration for geometry checks.

Note

This class is a technology preview and unstable API.

New in version 3.4.

QgsGeometryCheckContext(precision: int, mapCrs: QgsCoordinateReferenceSystem, transformContext: QgsCoordinateTransformContext, mProject: QgsProject) Creates a new QgsGeometryCheckContext.

Methods

project

The project can be used to resolve additional layers.

Attributes

mapCrs
project(self) QgsProject

The project can be used to resolve additional layers.

This must only be accessed from the main thread (i.e. do not access from the collectError method)

New in version 3.10.

Return type

QgsProject

reducedTolerance
tolerance
transformContext