I went through a GeeksForGeeks article about determining whether a point is in a polygon or not but I'm struggling to understand what to do in the special case "g". I'm not sure how to handle the edge case of a point lying collinearly with another point in the polygon and I don't understand the provided explanation.
Any help understanding this is appreciated, thank you.
The Picture
GeeksForGeeks Article
1.4m articles
1.4m replys
5 comments
57.0k users