|
-
May 21st, 2010, 04:31 AM
#1
To check if a point is inside a polygon
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|