![]() |
![]() |
![]() |
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 object.
Clipper.ForceSimple, CleanPolygon, PolyFillType, Polygon
Copyright ©2010-2013 Angus Johnson - Clipper Ver 5.1.6 - Help file built on 24-May-2013