|
14 | 14 | # limitations under the License.
|
15 | 15 | """Singular coordinate defined on a space, possibly with an uncertainty."""
|
16 | 16 |
|
17 |
| -from . import location, boundingbox, pointcloud |
| 17 | +from . import location, pointcloud |
18 | 18 |
|
19 | 19 | from ..commons import logger
|
20 | 20 | from ..retrieval.requests import HttpRequest
|
@@ -115,8 +115,6 @@ def homogeneous(self):
|
115 | 115 | def intersection(self, other: location.Location) -> "Point":
|
116 | 116 | if isinstance(other, Point):
|
117 | 117 | return self if self == other else None
|
118 |
| - elif isinstance(other, pointcloud.PointCloud): |
119 |
| - return self if self in other else None |
120 | 118 | else:
|
121 | 119 | return self if other.intersection(self) else None
|
122 | 120 |
|
@@ -305,13 +303,6 @@ def __getitem__(self, index):
|
305 | 303 | assert 0 <= index < 3
|
306 | 304 | return self.coordinate[index]
|
307 | 305 |
|
308 |
| - @property |
309 |
| - def boundingbox(self): |
310 |
| - w = max(self.sigma or 0, 1e-6) # at least a micrometer |
311 |
| - return boundingbox.BoundingBox( |
312 |
| - self - w, self + w, self.space, self.sigma |
313 |
| - ) |
314 |
| - |
315 | 306 | def bigbrain_section(self):
|
316 | 307 | """
|
317 | 308 | Estimate the histological section number of BigBrain
|
|
0 commit comments