QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
qgsvectorsimplifymethod.cpp
Go to the documentation of this file.
1/***************************************************************************
2 qgsvectorsimplifymethod.cpp
3 ---------------------
4 begin : December 2013
5 copyright : (C) 2013 by Alvaro Huarte
6 email : http://wiki.osgeo.org/wiki/Alvaro_Huarte
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 "qgis.h"
18
20 : mSimplifyHints( Qgis::DEFAULT_MAPTOPIXEL_THRESHOLD > 1 ? QgsVectorSimplifyMethod::FullSimplification : QgsVectorSimplifyMethod::GeometrySimplification )
21 , mThreshold( Qgis::DEFAULT_MAPTOPIXEL_THRESHOLD )
22{
23}
The Qgis class provides global constants for use throughout the application.
Definition: qgis.h:54
This class contains information how to simplify geometries fetched from a vector layer.
QgsVectorSimplifyMethod()
construct a default object