Math
Check Whether Point Is Inside The Polygon / Circle
I created a 2D convex hull and wanted to check whether a point is inside it. If the point is inside the polygon, the neighbor cross product vectors have the same directions. If the point is outside, one vector is toward the outside, the other one is toward the inside. Read more…