.. # split from OESpicoliFunctions.rst:872


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OETranslateSurface

.. oe:function:: OETranslateSurface

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

      .. oe:api::

         void OETranslateSurface(OESurface& surf, float* trans)

   .. oe:language:: python

      .. oe:api:: python

         OETranslateSurface(surf: OESurface, trans: OEFloatArray) -> None

   Translates the surface using the supplied 3-element translation vector.

   .. seealso::

      * :oe:func:`OESpicoli::OERotateSurface`
      * :oe:func:`OESpicoli::OETransformSurface`

