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)
56class GEOS_DLL TaggedLinesSimplifier {
60 TaggedLinesSimplifier();
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;
Contains and owns a list of TaggedLineSegments.
Definition TaggedLineString.h:60
void setDistanceTolerance(double tolerance)
Sets the distance tolerance for the simplification.
void simplify(iterator_type begin, iterator_type end)
Definition TaggedLinesSimplifier.h:86
Basic namespace for all GEOS functionalities.
Definition IndexedNestedRingTester.h:25