[Numpy-discussion] how to tell if a point is inside a polygon
Thu Oct 16 14:28:05 CDT 2008
On Oct 16, 2008, at 1:54 PM, John Hunter wrote:
> It is already in matplotlib
> In : import matplotlib.nxutils as nx
> In : nx.pnpoly
> Out: <built-in function pnpoly>
> In : nx.points_inside_poly
> Out: <built-in function points_inside_poly>
> but one of should add it to the FAQ!
I did not know that very useful thing. But now I do. This is solid
proof that lurking on the mailing lists makes you smarter.
Rob Hetland, Associate Professor
Dept. of Oceanography, Texas A&M University
phone: 979-458-0096, fax: 979-845-6331
More information about the Numpy-discussion