GEOS  3.8.0dev
Public Member Functions | List of all members
geos::simplify::TaggedLinesSimplifier Class Reference

Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced). More...

#include <TaggedLinesSimplifier.h>

Public Member Functions

void setDistanceTolerance (double tolerance)
 Sets the distance tolerance for the simplification. More...
 
template<class iterator_type >
void simplify (iterator_type begin, iterator_type end)
 

Detailed Description

Simplifies a collection of TaggedLineStrings, preserving topology (in the sense that no new intersections are introduced).

Member Function Documentation

void geos::simplify::TaggedLinesSimplifier::setDistanceTolerance ( double  tolerance)

Sets the distance tolerance for the simplification.

All vertices in the simplified geometry will be within this distance of the original geometry.

Parameters
tolerancethe approximation tolerance to use
template<class iterator_type >
void geos::simplify::TaggedLinesSimplifier::simplify ( iterator_type  begin,
iterator_type  end 
)
inline

Simplify a set of TaggedLineStrings

Parameters
iterator_typean iterator, must support assignment, increment, inequality and dereference operators. Dereference operator must return a TaggedLineString*
beginiterator to the first element to be simplified.
endan iterator to one-past-last element to be simplified.

The documentation for this class was generated from the following file: