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)
45class TaggedLineString;
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;
Contains and owns a list of TaggedLineSegments.
Definition TaggedLineString.h:58
Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersect...
Definition TaggedLinesSimplifier.h:56
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:83
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:26