Example #1
0
 def inside(p):
     pcirc = npy.array([p.center[0], p.center[1]])
     return dist(pclicked, pcirc) < p.radius
Example #2
0
 def inside(p):
     pcirc = np.array([p.center[0], p.center[1]])
     return dist(pclicked, pcirc) < p.radius