QGIS API Documentation  3.6.0-Noosa (5873452)
qgsgeometrycheckcontext.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgsgeometrycheckcontext.h
3  ---------------------
4  begin : September 2018
5  copyright : (C) 2018 Matthias Kuhn
6  email : [email protected]
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 
30 struct ANALYSIS_EXPORT QgsGeometryCheckContext
31 {
33  const QgsCoordinateReferenceSystem &mapCrs,
34  const QgsCoordinateTransformContext &transformContext );
35 
41  const double tolerance;
42 
49  const double reducedTolerance;
50 
55 
60 
61  private:
62 #ifdef SIP_RUN
63  QgsGeometryCheckContext( const QgsGeometryCheckContext &rh )
64  {}
65 #endif
66 };
67 
68 #endif // QGSGEOMETRYCHECKCONTEXT_H
int precision
const QgsCoordinateReferenceSystem mapCrs
The coordinate system in which calculations should be done.
Base configuration for geometry checks.
Contains information about the context in which a coordinate transform is executed.
const double tolerance
The tolerance to allow for in geometry checks.
const double reducedTolerance
The tolerance to allow for in geometry checks.
This class represents a coordinate reference system (CRS).
const QgsCoordinateTransformContext transformContext
The coordinate transform context with which transformations will be done.