(points)
| 257 | |
| 258 | if DEBUG: |
| 259 | def _check(points): |
| 260 | if isinstance(points, np.ma.MaskedArray): |
| 261 | warnings.warn("Bbox bounds are a masked array.") |
| 262 | points = np.asarray(points) |
| 263 | if (points[1, 0] - points[0, 0] == 0 or |
| 264 | points[1, 1] - points[0, 1] == 0): |
| 265 | warnings.warn("Singular Bbox.") |
| 266 | _check = staticmethod(_check) |
| 267 | |
| 268 | def frozen(self): |
no test coverage detected