17 #ifndef QGSGEOMETRYSIMPLIFIER_H 18 #define QGSGEOMETRYSIMPLIFIER_H 26 #include "qgis_core.h" 43 static bool isGeneralizableByDeviceBoundingBox(
const QgsRectangle &envelope,
float mapToPixelTol = 1.0f );
45 static bool isGeneralizableByDeviceBoundingBox(
const QVector<QPointF> &points,
float mapToPixelTol = 1.0f );
75 #endif // QGSGEOMETRYSIMPLIFIER_H Implementation of GeometrySimplifier using the Douglas-Peucker algorithm.
A rectangle specified with double values.
A geometry is the spatial representation of a feature.
double mTolerance
Distance tolerance for the simplification.
virtual QgsGeometry simplify(const QgsGeometry &geometry) const =0
Returns a simplified version the specified geometry.
Abstract base class for simplify geometries using a specific algorithm.