
.. oe:namespace:: OEMath

.. meta::
   :keywords: OEBoxExtend

.. oe:function:: OEBoxExtend

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEBoxExtend(OEBox& box, const float x_ext, const float y_ext,
                          const float z_ext)

   .. oe:language:: python

      .. oe:api:: python

         OEBoxExtend(box: OEBox, x: float, y: float, z: float) -> bool


   Extends each side of the *box* by the specified amount.  *x_ext* extends
   the two faces of the box normal to the x-axis.  Thus the x dimension of
   the box will increase by 2 times *x_ext*.  The *y_ext* and *z_ext* perform
   the same function for the y and z faces respectively.

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEBoxExtend(OEBox& box, const float ext)

   .. oe:language:: python

      .. oe:api:: python

         OEBoxExtend(box: OEBox, value: float) -> bool


   Extends every face of *box* by *ext*.  Thus every dimension of the box
   will increase by 2 times *ext*.
   
