|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.simplify.TaggedLineStringSimplifier
Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm.
Constructor Summary | |
TaggedLineStringSimplifier(LineSegmentIndex inputIndex,
LineSegmentIndex outputIndex)
|
Method Summary | |
void |
setDistanceTolerance(double distanceTolerance)
Sets the distance tolerance for the simplification. |
void |
simplify(TaggedLineString line)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TaggedLineStringSimplifier(LineSegmentIndex inputIndex, LineSegmentIndex outputIndex)
Method Detail |
public void setDistanceTolerance(double distanceTolerance)
distanceTolerance
- the approximation tolerance to usepublic void simplify(TaggedLineString line)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |