From: Benjamin R. <ben...@ou...> - 2012-02-13 19:48:06
|
On Mon, Feb 13, 2012 at 1:33 PM, reckoner <rec...@gm...> 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 |