Point in polygon (Python3)

Поділитися
Вставка
  • Опубліковано 15 лис 2024
  • Check if a point is inside, outside or on the edge of a polygon.
    Code: gist.github.co...

КОМЕНТАРІ • 3

  • @ritwickjha3954
    @ritwickjha3954 6 місяців тому

    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

  • @puddidonlickhd2427
    @puddidonlickhd2427 10 місяців тому

    omg, thank you so much. you really helped me with my problem. thank you

  • @FerencSaary
    @FerencSaary 9 місяців тому

    Hello! Thank You! What if the examined point is one of the vertices of the polygon