19 #ifndef GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H
20 #define GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H
22 #include <geos/export.h>
29 class GeometryFactory;
55 std::auto_ptr<geom::Geometry> reducePointwise(
const geom::Geometry& geom );
57 std::auto_ptr<geom::Geometry> fixPolygonalTopology(
60 std::auto_ptr<geom::GeometryFactory> createFactory(
80 static std::auto_ptr<geom::Geometry>
reduce(
112 removeCollapsed(true),
136 removeCollapsed =
remove;
152 isPointwise = pointwise;
162 #endif // GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H
static std::auto_ptr< geom::Geometry > reducePointwise(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:99
void setRemoveCollapsedComponents(bool remove)
Definition: GeometryPrecisionReducer.h:135
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:167
Supplies a set of utility methods for building Geometry objects from CoordinateSequence or other Geom...
Definition: GeometryFactory.h:67
Reduces the precision of a Geometry according to the supplied PrecisionModel, ensuring that the resul...
Definition: GeometryPrecisionReducer.h:42
static std::auto_ptr< geom::Geometry > reduce(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:80
void setPointwise(bool pointwise)
Sets whether the precision reduction will be done in pointwise fashion only.
Definition: GeometryPrecisionReducer.h:150