Class DouglasPeuckerLineSimplifier
Simplifies a line (sequence of points) using
the standard Douglas-Peucker algorithm.
Inheritance
DouglasPeuckerLineSimplifier
Assembly: NetTopologySuite.dll
Syntax
public class DouglasPeuckerLineSimplifier
Constructors
|
Improve this Doc
View Source
DouglasPeuckerLineSimplifier(Coordinate[])
Creates an instance of this class using the provided pts
array of coordinates
Declaration
public DouglasPeuckerLineSimplifier(Coordinate[] pts)
Parameters
Type |
Name |
Description |
Coordinate[] |
pts |
An array of coordinates
|
Properties
|
Improve this Doc
View Source
DistanceTolerance
The distance tolerance for the simplification.
Declaration
public double DistanceTolerance { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Simplify()
Declaration
public Coordinate[] Simplify()
Returns
|
Improve this Doc
View Source
Simplify(Coordinate[], Double)
Declaration
public static Coordinate[] Simplify(Coordinate[] pts, double distanceTolerance)
Parameters
Returns