QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
qgsgeometrycheckcontext.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsgeometrycheckcontext.h
3 ---------------------
4 begin : September 2018
5 copyright : (C) 2018 Matthias Kuhn
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSGEOMETRYCHECKCONTEXT_H
17#define QGSGEOMETRYCHECKCONTEXT_H
18
19#include "qgis_analysis.h"
22#include "qgsfeaturepool.h"
23
31class ANALYSIS_EXPORT QgsGeometryCheckContext
32{
33 public:
37 QgsGeometryCheckContext( int precision, const QgsCoordinateReferenceSystem &mapCrs, const QgsCoordinateTransformContext &transformContext, const QgsProject *mProject );
38
44 const double tolerance;
45
52 const double reducedTolerance;
53
58
63
71 const QgsProject *project() const;
72
73 private:
74 const QgsProject *mProject;
75
76 private:
77#ifdef SIP_RUN
79 {}
80#endif
81};
82
83#endif // QGSGEOMETRYCHECKCONTEXT_H
This class represents a coordinate reference system (CRS).
Contains information about the context in which a coordinate transform is executed.
Base configuration for geometry checks.
const double reducedTolerance
The tolerance to allow for in geometry checks.
const QgsCoordinateTransformContext transformContext
The coordinate transform context with which transformations will be done.
const QgsCoordinateReferenceSystem mapCrs
The coordinate system in which calculations should be done.
const double tolerance
The tolerance to allow for in geometry checks.
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition qgsproject.h:107
int precision