JTS Core 1.17.1
Packages
Classes
Search
About
Top
TaggedLineStringSimplifier(LineSegmentIndex, LineSegmentIndex)
setDistanceTolerance(double): void
Bottom
Source
Classic
org.locationtech.jts.simplify
Class TaggedLineStringSimplifier
Hierarchy:
Object
, TaggedLineStringSimplifier
public class TaggedLineStringSimplifier
Simplifies a TaggedLineString, preserving topology (in the sense that no new intersections are introduced). Uses the recursive Douglas-Peucker algorithm.
Authors:
Martin Davis
Other
version: 1.7
public
TaggedLineStringSimplifier(
LineSegmentIndex
inputIndex,
LineSegmentIndex
outputIndex)
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 - distanceTolerance the approximation tolerance to use