Determine if a point is inside a polygon (C++ code)
I tested the code and made a few small changes to improve the efficiency.
Determine whether it is inside the polygon based on the number of intersection points between points and the edges of the polygon