QgsGeometryCheckContext struct
Base configuration for geometry checks.
Contents
- Reference
Public variables
- const QgsCoordinateReferenceSystem mapCrs
- The coordinate system in which calculations should be done.
- const double reducedTolerance
- The tolerance to allow for in geometry checks.
- const double tolerance
- The tolerance to allow for in geometry checks.
- const QgsCoordinateTransformContext transformContext
- The coordinate transform context with which transformations will be done.
Variable documentation
const double QgsGeometryCheckContext:: reducedTolerance
The tolerance to allow for in geometry checks.
Will be calculated as pow(10, -precision/2) in the constructor. I.e. if the precision is 4 (decimal digits), this will be 0.01. Should be used for areas, where the precision is squared.
const double QgsGeometryCheckContext:: tolerance
The tolerance to allow for in geometry checks.
Will be calculated as pow(10, -precision) in the constructor. I.e. if the precision is 4 (decimal digits), this will be 0.0001.