26 #ifndef GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H
27 #define GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H
29 #include <geos/export.h>
34 #include <geos/simplify/LineSegmentIndex.h>
35 #include <geos/simplify/TaggedLineStringSimplifier.h>
39 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
45 class TaggedLineString;
70 void setDistanceTolerance(
double tolerance);
85 template <
class iterator_type>
91 for (iterator_type it=begin; it != end; ++it) {
93 inputIndex->add(*(*it));
97 for (iterator_type it=begin; it != end; ++it) {
108 std::auto_ptr<LineSegmentIndex> inputIndex;
110 std::auto_ptr<LineSegmentIndex> outputIndex;
112 std::auto_ptr<TaggedLineStringSimplifier> taggedlineSimplifier;
122 #endif // GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H
Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersect...
Definition: TaggedLinesSimplifier.h:56
Contains and owns a list of TaggedLineSegments.
Definition: TaggedLineString.h:60
void simplify(iterator_type begin, iterator_type end)
Definition: TaggedLinesSimplifier.h:86