BoundingBox
class BoundingBox
Represents the bounding box for 3D content. All measurements are expressed in meters (m).
This class represents an Axis-Aligned Bounding Box (AABB), which is a bounding box whose edges are always aligned with the coordinate axes. It is defined by its center position and half extent, making it symmetrical along each axis.
Key characteristics:
Axis-aligned: The bounding box is always aligned with the coordinate axes, without any rotation or skew.
Symmetrical: The bounding box is defined by its center (
center) and half extent (halfExtent), ensuring symmetry along all axes.Precision: All calculations have a precision error of 0.00001F.