Relative Content

Tag Archive for c++algorithmpolygon

Point in polygon (with holes) algorythm

I am working on a CAD software addon and i needed a solution, where you have to know if a point is inside a polygon or not. I have found some good solutions here (link), but none of them worked, when the polygon had holes in it! I figured it out so i want to share the code if somebody would need it.