KDNode.compute_bounding_box

giant.ray_tracer.kdtree:

KDNode.compute_bounding_box(self)

This method computes the axis aligned bounding box for the node based off of the provided geometry primitives. It is guaranteed to encapsulate all of the primitives in the node (including those contained in sub-nodes).

The result is stored in the bounding_box attribute.