.. role:: blue :class: blue Bounding Box in Three-Dimensional Space MbCube ============================================== .. _MbCube_Bounding_Box_in_Three-Dimensional_Space_: .. kernel version: 118059 The :blue:`MbCube` class is declared in the *mb_cube.h* file. The :blue:`MbCube` bounding box describes the extents of an extended object (a curve, a surface, a solid, or several solids) in three-dimensional space and is defined by two points **pmin** and **pmax**. The faces of the bounding box are parallel to the planes of the coordinate system in which the cube is defined. The points **pmin** and **pmax** describe two opposite vertices of the bounding box that have the smallest and the largest coordinates, respectively: .. figure:: /MODELER/ELEMENTARY_OBJECTS/pictures/O.1.6.1.png :width: 10cm :align: center If the extents of an extended object are not defined, then the bounding box is considered empty and **pmin** = \[10\ :sup:`-300` 10\ :sup:`-300` 10\ :sup:`-300`\], **pmax** = \[−10\ :sup:`-300` −10\ :sup:`-300` −10\ :sup:`-300`\]. For an empty bounding box **pmin** > **pmax**, and the :blue:`IsEmpty`\() method returns *true*.