(self, x, y, lim)
| 39 | return cur, cur.index(cid) |
| 40 | |
| 41 | def pick(self, x, y, lim): |
| 42 | rst = self.snap(x, y, lim) |
| 43 | if rst!=None:return rst |
| 44 | for i in self.body: |
| 45 | if Polygon(i).contains(Point(x,y)): |
| 46 | return True, i |
| 47 | return None |
| 48 | |
| 49 | def draged(self, ox, oy, nx, ny, i): |
| 50 | self.update, self.infoupdate(), True |
no test coverage detected