19 #ifndef GEOS_SIMPLIFY_DOUBGLASPEUCKERSIMPLIFIER_H
20 #define GEOS_SIMPLIFY_DOUBGLASPEUCKERSIMPLIFIER_H
22 #include <geos/export.h>
50 class GEOS_DLL DouglasPeuckerSimplifier {
54 static std::unique_ptr<geom::Geometry> simplify(
55 const geom::Geometry* geom,
58 DouglasPeuckerSimplifier(
const geom::Geometry* geom);
70 void setDistanceTolerance(
double tolerance);
72 std::unique_ptr<geom::Geometry> getResultGeometry();
77 const geom::Geometry* inputGeom;
79 double distanceTolerance;
86 #endif // GEOS_SIMPLIFY_DOUBGLASPEUCKERSIMPLIFIER_H