.. # split from OEDockingFunctions.rst:36


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OEBoxExtend

.. oe:function:: OEBoxExtend

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

      .. oe:api::

         bool OEBoxExtend(OEBoxBase& box, float x_ext, float y_ext, float z_ext)

   .. oe:language:: python

      .. oe:api:: python

         OEBoxExtend(box: OEBoxBase, x_ext: float, y_ext: float, z_ext: 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(OEBoxBase& box, float   ext)

   .. oe:language:: python

      .. oe:api:: python

         OEBoxExtend(box: OEBoxBase, ext: float) -> bool


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