An axis-oriented bounding box storing the extent of an object.
All vertices of the object that the bounding box has been computed for will be within the box defined by the min and max corners.
Note that this class is immutable.
The maximum values for x, y and z across all vertices in the object.
The minimum values for x, y and z across all vertices in the object.
Returns the center of the bounding box
Returns the extent for each component (x,y,z) of the bounding box (maximum - minimum).
Returns true if the bounding box is valid, i.e. if minimum < maximum for x, y and z.
Generated using TypeDoc