com.vividsolutions.jts.simplify

Class TaggedLinesSimplifier


public class TaggedLinesSimplifier
extends java.lang.Object

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

Constructor Summary

TaggedLinesSimplifier()

Method Summary

void
setDistanceTolerance(double distanceTolerance)
Sets the distance tolerance for the simplification.
void
simplify(Collection taggedLines)
Simplify a collection of TaggedLineStrings

Constructor Details

TaggedLinesSimplifier

public TaggedLinesSimplifier()

Method Details

setDistanceTolerance

public void setDistanceTolerance(double distanceTolerance)
Sets the distance tolerance for the simplification. All vertices in the simplified geometry will be within this distance of the original geometry.
Parameters:
distanceTolerance - the approximation tolerance to use

simplify

public void simplify(Collection taggedLines)
Parameters:
taggedLines - the collection of lines to simplify