def intersection(self, bounding_box: BoundingBox, object: bool = True): """Return points within the bounding box""" result = self.idx.intersection(bounding_box.to_tuple(), object) return [item.object for item in result]