[Numpy-discussion] how to tell if a point is inside a polygon

Rob Hetland hetland@tamu....
Thu Oct 16 13:25:41 CDT 2008


On Oct 14, 2008, at 12:56 AM, Stéfan van der Walt wrote:

> Here is an implementation in Python, ctypes and in weave:
>
> http://mentat.za.net/source/pnpoly.tar.bz2
>
> Regards
> Stéfan

This question gets asked about once a month on the mailing list.  
Perhaps pnpoly could find a permanent home in scipy?  (or somewhere?)   
Obviously, many would find it useful.

-Rob


----
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
http://pong.tamu.edu/~rob
phone: 979-458-0096, fax: 979-845-6331





More information about the Numpy-discussion mailing list