Class: QgsGeometryCheckContext¶
Base configuration for geometry checks.
Note
This class is a technology preview and unstable API.
Added in version 3.4.
Methods
The project can be used to resolve additional layers. |
Attributes
- class qgis.analysis.QgsGeometryCheckContext[source]¶
Bases:
object
- __init__(precision: int, mapCrs: QgsCoordinateReferenceSystem, transformContext: QgsCoordinateTransformContext, mProject: QgsProject | None)
Creates a new QgsGeometryCheckContext.
- Parameters:
precision (int)
mapCrs (QgsCoordinateReferenceSystem)
transformContext (QgsCoordinateTransformContext)
mProject (Optional[QgsProject])
- mapCrs¶
- project(self) QgsProject | None [source]¶
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)
Added in version 3.10.
- Return type:
Optional[QgsProject]
- reducedTolerance¶
- tolerance¶
- transformContext¶