15 #ifndef GEOS_PRECISION_SIMPLEGEOMETRYPRECISIONREDUCER_H
16 #define GEOS_PRECISION_SIMPLEGEOMETRYPRECISIONREDUCER_H
18 #include <geos/export.h>
45 class GEOS_DLL SimpleGeometryPrecisionReducer {
49 const geom::PrecisionModel* newPrecisionModel;
57 SimpleGeometryPrecisionReducer(
const geom::PrecisionModel* pm);
67 void setRemoveCollapsedComponents(
bool nRemoveCollapsed);
81 const geom::PrecisionModel* getPrecisionModel();
83 bool getRemoveCollapsed();
84 std::unique_ptr<geom::Geometry> reduce(
const geom::Geometry* geom);
90 #endif // GEOS_PRECISION_SIMPLEGEOMETRYPRECISIONREDUCER_H