Back to Devexpress

DouglasPeuckerShapeSimplifier Class

windowsforms-devexpress-dot-xtramap-407fadca.md

latest1.8 KB
Original Source

DouglasPeuckerShapeSimplifier Class

Specifies the Douglas-Peucker shape simplification algorithm.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

csharp
public class DouglasPeuckerShapeSimplifier :
    ShapeSimplifierBase
vb
Public Class DouglasPeuckerShapeSimplifier
    Inherits ShapeSimplifierBase

Remarks

You can use the DouglasPeuckerShapeSimplifier instance to pass as the first parameter into the MapEditor.SimplifyItems(ShapeSimplifierBase, IEnumerable<MapItem>, Double) method.

The Map control also provides the built-in VisvalingamShapeSimplifier you can use instead of DouglasPeuckerShapeSimplifier. The Douglas-Peucker algorithm provides greater smoothness of the resulting polyline while the Visvalingam algorithm demonstrates better performance when you process a polyline with a large number of vertices.

Inheritance

Object ShapeSimplifierBase DouglasPeuckerShapeSimplifier

See Also

DouglasPeuckerShapeSimplifier Members

DevExpress.XtraMap Namespace