27 #ifndef GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H
28 #define GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H
30 #include <geos/export.h>
35 #include <geos/simplify/LineSegmentIndex.h>
36 #include <geos/simplify/TaggedLineStringSimplifier.h>
40 #pragma warning(disable: 4251) // warning C4251: needs to have dll-interface to be used by clients of class
46 class TaggedLineString;
71 void setDistanceTolerance(
double tolerance);
86 template <
class iterator_type>
92 for (iterator_type it=begin; it != end; ++it) {
94 inputIndex->add(*(*it));
98 for (iterator_type it=begin; it != end; ++it) {
109 std::auto_ptr<LineSegmentIndex> inputIndex;
111 std::auto_ptr<LineSegmentIndex> outputIndex;
113 std::auto_ptr<TaggedLineStringSimplifier> taggedlineSimplifier;
123 #endif // GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H