19 #ifndef GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H 20 #define GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H 22 #include <geos/export.h> 23 #include <geos/geom/GeometryFactory.h> 30 class GeometryFactory;
56 std::unique_ptr<geom::Geometry> reducePointwise(
const geom::Geometry& geom);
58 std::unique_ptr<geom::Geometry> fixPolygonalTopology(
61 geom::GeometryFactory::Ptr createFactory(
81 static std::unique_ptr<geom::Geometry>
101 static std::unique_ptr<geom::Geometry>
115 removeCollapsed(true),
141 removeCollapsed = remove;
158 isPointwise = pointwise;
161 std::unique_ptr<geom::Geometry> reduce(
const geom::Geometry& geom);
168 #endif // GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H static std::unique_ptr< geom::Geometry > reducePointwise(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:102
void setRemoveCollapsedComponents(bool remove)
Definition: GeometryPrecisionReducer.h:139
Specifies the precision model of the Coordinate in a Geometry.
Definition: PrecisionModel.h:87
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition: Geometry.h:188
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:68
Reduces the precision of a geom::Geometry according to the supplied geom::PrecisionModel,...
Definition: GeometryPrecisionReducer.h:43
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
static std::unique_ptr< geom::Geometry > reduce(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:82
void setPointwise(bool pointwise)
Sets whether the precision reduction will be done in pointwise fashion only.
Definition: GeometryPrecisionReducer.h:156