QGIS API Documentation
3.6.0-Noosa (5873452)
src
analysis
vector
geometry_checker
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
16
#include "
qgsgeometrycheckcontext.h
"
17
18
QgsGeometryCheckContext::QgsGeometryCheckContext
(
int
precision
,
const
QgsCoordinateReferenceSystem
&mapCrs,
const
QgsCoordinateTransformContext
&transformContext )
19
: tolerance( std::pow( 10, -precision ) )
20
, reducedTolerance( std::pow( 10, -precision / 2 ) )
21
, mapCrs( mapCrs )
22
, transformContext( transformContext )
23
{
24
}
precision
int precision
Definition:
qgswfsgetfeature.cpp:47
QgsGeometryCheckContext::QgsGeometryCheckContext
QgsGeometryCheckContext(int precision, const QgsCoordinateReferenceSystem &mapCrs, const QgsCoordinateTransformContext &transformContext)
Definition:
qgsgeometrycheckcontext.cpp:18
qgsgeometrycheckcontext.h
QgsCoordinateTransformContext
Contains information about the context in which a coordinate transform is executed.
Definition:
qgscoordinatetransformcontext.h:64
QgsCoordinateReferenceSystem
This class represents a coordinate reference system (CRS).
Definition:
qgscoordinatereferencesystem.h:191
Generated on Sat Feb 23 2019 03:59:22 for QGIS API Documentation by
1.8.13