diff --git a/openmc/bounding_box.py b/openmc/bounding_box.py index 0818937975..e9f225fe1f 100644 --- a/openmc/bounding_box.py +++ b/openmc/bounding_box.py @@ -32,10 +32,6 @@ class BoundingBox(tuple): @property def center(self): """The center x, y, z coordinates of the bounding box""" - # x_center = (self.corners[0][0] - self.corners[1][0]) / 2 - # y_center = (self.corners[0][1] - self.corners[1][1]) / 2 - # z_center = (self.corners[0][2] - self.corners[1][2]) / 2 - # return np.array([x_center, y_center, z_center]) return (self.corners[0] + self.corners[1]) / 2 @property