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