Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to check if a polygon intersects with itself using Clipper?

Can I use Clipper to check if my polygon contour intersects with itself (if it is a complex or a simple polygon)?

I know that it does not make the polygon invalid, but in my case I want to avoid self intersecting polygons.

like image 521
arthur.sw Avatar asked Nov 01 '25 23:11

arthur.sw


1 Answers

No, there's no function for that in the library.

like image 175
Angus Johnson Avatar answered Nov 04 '25 15:11

Angus Johnson