com.vividsolutions.jts.simplify
public class TaggedLinesSimplifier extends java.lang.Object
TaggedLineString
s, preserving topology
(in the sense that no new intersections are introduced).
This class is essentially just a container for the common
indexes used by TaggedLineStringSimplifier
.Constructor and Description |
---|
TaggedLinesSimplifier() |
Modifier and Type | Method and Description |
---|---|
void |
setDistanceTolerance(double distanceTolerance)
Sets the distance tolerance for the simplification.
|
void |
simplify(java.util.Collection taggedLines)
Simplify a collection of
TaggedLineString s |
public void setDistanceTolerance(double distanceTolerance)
distanceTolerance
- the approximation tolerance to usepublic void simplify(java.util.Collection taggedLines)
TaggedLineString
staggedLines
- the collection of lines to simplify