QGIS API Documentation  3.6.0-Noosa (5873452)
qgsgeometrycheckcontext.cpp
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 
17 
19  : tolerance( std::pow( 10, -precision ) )
20  , reducedTolerance( std::pow( 10, -precision / 2 ) )
21  , mapCrs( mapCrs )
22  , transformContext( transformContext )
23 {
24 }
int precision
QgsGeometryCheckContext(int precision, const QgsCoordinateReferenceSystem &mapCrs, const QgsCoordinateTransformContext &transformContext)
Contains information about the context in which a coordinate transform is executed.
This class represents a coordinate reference system (CRS).