Quantcast
Channel: The intersection of two polygons in C++ - Code Review Stack Exchange
Browsing all 2 articles
Browse latest View live

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 Article



The 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
Browsing all 2 articles
Browse latest View live




Latest Images