.. role:: blue :class: blue .. role:: bfit :class: bfit Bounding Rectangle in Two-Dimensional Space MbRect ========================================================== .. _MbRect_Bounding_Rectangle_in_Two-Dimensional_Space_: .. kernel version: 118059 The :blue:`MbRect` class is declared in the *mb_rect.h* file. The :blue:`MbRect` bounding rectangle describes the dimensions of an extended object (a curve or several curves) in two-dimensional space and is defined by four numbers: *left*, *right*, *bottom*, *top*. The sides of the bounding rectangle are parallel to the axes of the coordinate system in which the rectangle is defined. The *left* and *right* numbers describe the minimum and maximum abscissa of the bounding rectangle, and the *bottom* and *top* numbers describe the minimum and maximum ordinate of the bounding rectangle: .. figure:: /MODELER/ELEMENTARY_OBJECTS/pictures/O.1.14.1.png :width: 12cm :align: center If the dimensions of an extended object are not defined, then the bounding rectangle is considered empty if *left* > *right* and *bottom* > *top* simultaneously. For an empty bounding rectangle the :blue:`IsEmpty`\() method returns *true*.