SimplifyPolygons

Del.» function SimplifyPolygons(const polys: TPolygons;
        FillType: TPolyFillType = pftEvenOdd): TPolygons;

C++ » void SimplifyPolygons(const Polygons &in_polys, Polygons &out_polys,
        PolyFillType fillType = pftEvenOdd);

C#  » public static Polygons SimplifyPolygons(Polygons polys,
        PolyFillType fillType = PolyFillType.pftEvenOdd);


Removes self-intersections from the supplied polygons (by performing a boolean union operation using the nominated PolyFillType).
Polygons with non-contiguous duplicate vertices (ie 'touching') will be split into two polygons.

C++ only: The in_polys and out_polys parameters can reference the same Polygons object.


See Also

Clipper.ForceSimple, CleanPolygons, PolyFillType