matplotlib
._ns_nxutils
index
/astro-wise/AWEHOME/x86_64/AWBASE/common/lib/python2.5/site-packages/matplotlib/_ns_nxutils.so
general purpose utilities (numpy).
Functions
pnpoly
(...)
inside =
pnpoly
(x, y, xyverts)
return 1 if x,y is inside the polygon defined by the sequence of x,y vertices in xyverts
points_inside_poly
(...)
mask =
points_inside_poly
(xypoints, xyverts)
return a mask of length xypoints indicating whether each x,y point is inside the polygon defined by the sequence of x,y vertices in xyverts