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::auto_ptr<geom::Geometry> reducePointwise(
const geom::Geometry& geom );
58 std::auto_ptr<geom::Geometry> fixPolygonalTopology(
61 geom::GeometryFactory::unique_ptr createFactory(
81 static std::auto_ptr<geom::Geometry>
reduce(
113 removeCollapsed(true),
137 removeCollapsed =
remove;
153 isPointwise = pointwise;
163 #endif // GEOS_PRECISION_GEOMETRYPRECISIONREDUCER_H static std::auto_ptr< geom::Geometry > reducePointwise(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:100
void setRemoveCollapsedComponents(bool remove)
Definition: GeometryPrecisionReducer.h:136
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:43
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
static std::auto_ptr< geom::Geometry > reduce(const geom::Geometry &g, const geom::PrecisionModel &precModel)
Definition: GeometryPrecisionReducer.h:81
void setPointwise(bool pointwise)
Sets whether the precision reduction will be done in pointwise fashion only.
Definition: GeometryPrecisionReducer.h:151