|
Server : Apache System : Linux server112.speedpacket.com 3.10.0-962.3.2.lve1.5.36.el7.x86_64 #1 SMP Mon May 18 02:16:06 EDT 2020 x86_64 User : equistyl ( 1341) PHP Version : 8.1.30 Disable Function : NONE Directory : /lib64/python2.7/site-packages/matplotlib/ |
Upload File : |
�
r`]c @ s2 d d l Z d d l m Z d � Z d � Z d S( i����N( t pathc C s/ t j d t � t j | � } | j | | � S( s3
inside = pnpoly(x, y, xyverts)
Return 1 if x,y is inside the polygon, 0 otherwise.
*xyverts*
a sequence of x,y vertices.
A point on the boundary may be treated as inside or outside.
.. deprecated:: 1.2.0
Use :meth:`~matplotlib.path.Path.contains_point` instead.
sH nxutils is deprecated. Use matplotlib.path.Path.contains_point instead.( t warningst warnt DeprecationWarningR t Patht contains_point( t xt yt xyvertst p( ( s8 /usr/lib64/python2.7/site-packages/matplotlib/nxutils.pyt pnpoly s
c C s, t j d t � t j | � } | j | � S( s�
mask = points_inside_poly(xypoints, xyverts)
Returns a boolean ndarray, True for points inside the polygon.
*xypoints*
a sequence of N x,y pairs.
*xyverts*
sequence of x,y vertices of the polygon.
A point on the boundary may be treated as inside or outside.
.. deprecated:: 1.2.0
Use :meth:`~matplotlib.path.Path.contains_points` instead.
sI nxutils is deprecated. Use matplotlib.path.Path.contains_points instead.( R R R R R t contains_points( t xypointsR R ( ( s8 /usr/lib64/python2.7/site-packages/matplotlib/nxutils.pyt points_inside_poly s
( R t
matplotlibR R
R
( ( ( s8 /usr/lib64/python2.7/site-packages/matplotlib/nxutils.pyt <module> s