(self, x, y, z, lim)
| 71 | return self.body[0][0], self.body[0][0].index(cur) |
| 72 | |
| 73 | def pick(self, x, y, z, lim): |
| 74 | rst = self.snap(x, y, z, lim) |
| 75 | if rst!=None:return rst |
| 76 | |
| 77 | pgs = [] |
| 78 | for i in self.body: |
| 79 | pgs.extend(to_segment(i)) |
| 80 | unin = cascaded_union(pgs) |
| 81 | if unin.contains(Point(x,y)): |
| 82 | return True |
| 83 | return None |
| 84 | |
| 85 | def draged(self, ox, oy, nx, ny, nz, i): |
| 86 | self.update, self.infoupdate = True, True |
nothing calls this directly
no test coverage detected