(self, x)
| 14324 | return not self.is_empty |
| 14325 | |
| 14326 | def __contains__(self, x): |
| 14327 | try: |
| 14328 | l = x.__len__() |
| 14329 | except Exception: |
| 14330 | if g_exceptions_verbose > 1: exception_info() |
| 14331 | return False |
| 14332 | if l == 2: |
| 14333 | return util_point_in_quad(x, self) |
| 14334 | if l != 4: |
| 14335 | return False |
| 14336 | if CheckRect(x): |
| 14337 | if Rect(x).is_empty: |
| 14338 | return True |
| 14339 | return util_point_in_quad(x[:2], self) and util_point_in_quad(x[2:], self) |
| 14340 | if CheckQuad(x): |
| 14341 | for i in range(4): |
| 14342 | if not util_point_in_quad(x[i], self): |
| 14343 | return False |
| 14344 | return True |
| 14345 | return False |
| 14346 | |
| 14347 | def __eq__(self, quad): |
| 14348 | if not hasattr(quad, "__len__"): |
no test coverage detected