Back to Devexpress

VisvalingamShapeSimplifier Class

windowsforms-devexpress-dot-xtramap-48233c45.md

latest1.8 KB
Original Source

VisvalingamShapeSimplifier Class

Specifies the Visvalingam shape simplification algorithm.

Namespace : DevExpress.XtraMap

Assembly : DevExpress.XtraMap.v25.2.dll

NuGet Package : DevExpress.Win.Map

Declaration

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

Remarks

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

The Map control also provides the built-in DouglasPeuckerShapeSimplifier you can use instead of VisvalingamShapeSimplifier. 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 VisvalingamShapeSimplifier

See Also

VisvalingamShapeSimplifier Members

DevExpress.XtraMap Namespace