Replies: 2 comments
-
There are some free functions for validating a polygon (or a polygon with hole) in "CGAL/Boolean_set_operations_2/Gps_polygon_validation.h". Perhaps you can refer to it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you. I'll try @lryan599 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Issue Details
I want to determine a Polygon_with_holes is simple or not, i only found "CGAL::is_simple_2", but this function just only handle Polygon_2.
of these polygons, I think only numbered 5 and 3 are simple, but actually 5 always not simpale.
Source Code
Environment
Sorry about my english.
PS: after that, i need to conver complex polygon to simple, but i don't know how to do this too.
Beta Was this translation helpful? Give feedback.
All reactions