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

Stéfan van der Walt stefan@sun.ac...
Fri Oct 17 03:24:19 CDT 2008


2008/10/16 Rob Hetland <hetland@tamu.edu>:
>
> 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.

Maybe scipy.spatial could accommodate it?

Stéfan


More information about the Numpy-discussion mailing list