![]() |
![]() |
![]() |
Del.» function SimplifyPolygon(const Poly: TPolygon; FillType: TPolyFillType = pftEvenOdd): TPolygons;
C++ » void SimplifyPolygon(const Polygon &in_poly, Polygons &out_polys,
PolyFillType fillType = pftEvenOdd);
C# » public static Polygons SimplifyPolygon(Polygon poly,
PolyFillType fillType = PolyFillType.pftEvenOdd);
Removes self-intersections from the supplied polygon (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.
Clipper.ForceSimple, CleanPolygon, PolyFillType
Copyright ©2010-2013 Angus Johnson - Clipper version 5.1.5 - Help file built on 6-May-2013