Check if a point is inside, outside or on the edge of a polygon. Code: gist.github.com/isedgar/9bf44...
Пікірлер: 3
@ritwickjha39542 ай бұрын
when the ray casted from the point crosses a vertex, the one intersection is counted twice (because 2 edges are defined to have that point), which will give wrong answers
@puddidonlickhd24276 ай бұрын
omg, thank you so much. you really helped me with my problem. thank you
@FerencSaary5 ай бұрын
Hello! Thank You! What if the examined point is one of the vertices of the polygon