com.vividsolutions.jts.simplify
Class TaggedLinesSimplifier
java.lang.Object
com.vividsolutions.jts.simplify.TaggedLinesSimplifier
public class TaggedLinesSimplifier
extends java.lang.Object
Simplifies a collection of TaggedLineStrings, preserving topology
(in the sense that no new intersections are introduced).
TaggedLinesSimplifier
public TaggedLinesSimplifier()
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.
distanceTolerance
- the approximation tolerance to use
simplify
public void simplify(Collection taggedLines)
taggedLines
- the collection of lines to simplify