On Mon, Feb 13, 2012 at 1:33 PM, reckoner <recko...@gmail.com> wrote:

> Here's a better example:
>
> >>> th= array([ 4.65542641,  5.32920696,  2.20928291])
> >>> p=patch.Polygon(array([cos(th),sin(th)]).T)
> >>> print p.contains_point((0,0))
> 1
> >>> print matplotlib.nxutils.pnpoly(0,0,p.get_path().vertices)
> 0
>
> Thanks!
>
>
>
I can confirm this for both the current development branch and v1.1.x.
Strange....

Ben Root
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to