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);
81 template <
class iterator_type>
88 for(iterator_type it = begin; it != end; ++it) {
90 inputIndex->add(*(*it));
94 for(iterator_type it = begin; it != end; ++it) {
105 std::unique_ptr<LineSegmentIndex> inputIndex;
107 std::unique_ptr<LineSegmentIndex> outputIndex;
109 std::unique_ptr<TaggedLineStringSimplifier> taggedlineSimplifier;
119 #endif // GEOS_SIMPLIFY_TAGGEDLINESSIMPLIFIER_H Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersect...
Definition: TaggedLinesSimplifier.h:56
Basic namespace for all GEOS functionalities.
Definition: IndexedNestedRingTester.h:25
Contains and owns a list of TaggedLineSegments.
Definition: TaggedLineString.h:60
void simplify(iterator_type begin, iterator_type end)
Simplify a set of TaggedLineStrings.
Definition: TaggedLinesSimplifier.h:83