comp • gb.clipper • polygon • simplify

Polygon.Simplify (gb.clipper)

Function Simplify ( [ Fill As Integer ] ) As Polygon[]

Removes self-intersections from the polygon (by performing a boolean union operation using the nominated Fill type).

If there is non-contiguous duplicate vertices (ie 'touching'), then the polygon will be split into two polygons.