Hi,

I am looking for a Library / function / formula to check if a point is inside a polygon.

Assuming the polygon has N sides, and the co-ordinates are given of each vertex is given.
Also the co-ordinates of the point is also given.

How do we check if the point is inside the polygon. Is there a C++ library / function / formula to check this.

Note - Not sure if boost or other libraries support something like that.

Thanks,
Muthu