16 #ifndef QGSSIMPLIFYMETHOD_H
17 #define QGSSIMPLIFYMETHOD_H
43 void setMethodType( MethodType methodType );
48 void setTolerance(
double tolerance );
50 inline double tolerance()
const {
return mTolerance; }
53 void setForceLocalOptimization(
bool localOptimization );
69 #endif // QGSSIMPLIFYMETHOD_H
MethodType mMethodType
Simplification method.
Simplify using the map2pixel data to optimize the rendering of geometries.
double tolerance() const
Gets the tolerance of simplification.
No simplification is applied.
bool mForceLocalOptimization
Simplification executes after fetch the geometries from provider, otherwise it executes, when supported, in provider before fetch the geometries.
double mTolerance
Tolerance of simplification, it represents the maximum distance between two coordinates which can be ...
This class contains information about how to simplify geometries fetched from a QgsFeatureIterator.
Abstract base class for simplify geometries using a specific algorithm.
MethodType methodType() const
Gets the simplification type.
bool forceLocalOptimization() const
Gets whether the simplification executes after fetch the geometries from provider, otherwise it executes, when supported, in provider before fetch the geometries.