1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-09 00:05:52 -04:00
QGIS/src/core/qgsvectorsimplifymethod.cpp
Nyall Dawson a87d352bd7 Run clang-tidy modernize-use-default-member-init to move member
initialization to headers (c++11 style)
2017-09-27 05:02:34 +10:00

25 lines
1.2 KiB
C++

/***************************************************************************
qgsvectorsimplifymethod.cpp
---------------------
begin : December 2013
copyright : (C) 2013 by Alvaro Huarte
email : http://wiki.osgeo.org/wiki/Alvaro_Huarte
***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#include "qgis.h"
#include "qgsvectorsimplifymethod.h"
#include "qgsvectorlayer.h"
QgsVectorSimplifyMethod::QgsVectorSimplifyMethod()
: mSimplifyHints( Qgis::DEFAULT_MAPTOPIXEL_THRESHOLD > 1 ? QgsVectorSimplifyMethod::FullSimplification : QgsVectorSimplifyMethod::GeometrySimplification )
, mThreshold( Qgis::DEFAULT_MAPTOPIXEL_THRESHOLD )
{
}