Is the provided bounding box inside this one?
(self, b2: "BoundBox")
| 1005 | return cls(bbox) |
| 1006 | |
| 1007 | def isInside(self, b2: "BoundBox") -> bool: |
| 1008 | """Is the provided bounding box inside this one?""" |
| 1009 | if ( |
| 1010 | b2.xmin > self.xmin |
| 1011 | and b2.ymin > self.ymin |
| 1012 | and b2.zmin > self.zmin |
| 1013 | and b2.xmax < self.xmax |
| 1014 | and b2.ymax < self.ymax |
| 1015 | and b2.zmax < self.zmax |
| 1016 | ): |
| 1017 | return True |
| 1018 | else: |
| 1019 | return False |
| 1020 | |
| 1021 | |
| 1022 | class Location(object): |
no outgoing calls