.. # split from OESpicoliFunctions.rst:301


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OEMakeBoxSurface

.. oe:function:: OEMakeBoxSurface

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

      .. oe:api::

         bool OEMakeBoxSurface(OESurface& surf, const float* center,
                               const float* extents)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeBoxSurface(surf: OESurface, center: OEFloatArray,
                          extents: OEFloatArray) -> bool

   Creates a box in surf located at ``center`` and extending
   ``extents`` in each dimension. Each of the six faces of the box
   will be composed of two triangles.

