↧
Answer by G. Sliepen for The intersection of two polygons in C++
Avoid using in header filesIt looks like the code you have written is in a header file, which is to be included in an actual application that needs to intersect polygons. If you include this file, it...
View ArticleThe intersection of two polygons in C++
I implemented the intersection of two (convex) polygons in C++. It finds the polygon in the intersection like in this image.Looking for any and all feedback. I left the logic for line intersection and...
View Article