GEOS 3.11.1
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)
 Simplify a set of TaggedLineStrings. More...
 

Detailed Description

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

Member Function Documentation

◆ setDistanceTolerance()

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

◆ simplify()

template<class iterator_type >
void geos::simplify::TaggedLinesSimplifier::simplify ( iterator_type  begin,
iterator_type  end 
)
inline

Simplify a set of TaggedLineStrings.

Template Parameters
iterator_typean iterator, must support assignment, increment, inequality and dereference operators. Dereference operator must return a TaggedLineString*.
Parameters
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: