28#include <geos/export.h>
33#include <geos/simplify/LineSegmentIndex.h>
34#include <geos/simplify/TaggedLineStringSimplifier.h>
38#pragma warning(disable: 4251)
44class TaggedLineString;
80 template <
class iterator_type>
87 for(iterator_type it = begin; it != end; ++it) {
89 inputIndex->add(*(*it));
93 for(iterator_type it = begin; it != end; ++it) {
104 std::unique_ptr<LineSegmentIndex> inputIndex;
106 std::unique_ptr<LineSegmentIndex> outputIndex;
108 std::unique_ptr<TaggedLineStringSimplifier> taggedlineSimplifier;
Contains and owns a list of TaggedLineSegments.
Definition: TaggedLineString.h:57
Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersect...
Definition: TaggedLinesSimplifier.h:55
void setDistanceTolerance(double tolerance)
Sets the distance tolerance for the simplification.
void simplify(iterator_type begin, iterator_type end)
Simplify a set of TaggedLineStrings.
Definition: TaggedLinesSimplifier.h:82
Basic namespace for all GEOS functionalities.
Definition: geos.h:39