I want to write a program whether a given point in the plane lies inside, outside, or on the boundary of a polygon. I have found this interesting website which shows 2 ways of doing that. i.e InsidePolygon() and pnpoly()
Determining if a point lies on the interior of a polygon
But these Algo/code don't detect if the input pt is on the boundary of a polygon?
Can you guys help me in that part of code/algo?
Your help is much appreciated.