Back to Devexpress

ShapeSimplifierBase.Simplify(IEnumerable<MapItem>, Double) Method

wpf-devexpress-dot-xpf-dot-map-dot-shapesimplifierbase-dot-simplify-x28-system-dot-collections-dot-generic-dot-ienumerable-devexpress-dot-xpf-dot-map-dot-mapitem-system-dot-double-x29.md

latest1.5 KB
Original Source

ShapeSimplifierBase.Simplify(IEnumerable<MapItem>, Double) Method

Reduces a number of vertices that form the vector layer’s items.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public void Simplify(
    IEnumerable<MapItem> items,
    double tolerance
)
vb
Public Sub Simplify(
    items As IEnumerable(Of MapItem),
    tolerance As Double
)

Parameters

NameTypeDescription
itemsIEnumerable<MapItem>

The items to be simplified.

| | tolerance | Double |

A percent of vertices that vector shapes contain after simplification. This value should be in the (0;100) range.

|

See Also

ShapeSimplifierBase Class

ShapeSimplifierBase Members

DevExpress.Xpf.Map Namespace