.. # split from OESpicoliFunctions.rst:36


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OECalculateNormals

.. oe:function:: OECalculateNormals

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

      .. oe:api::

         bool OECalculateNormals(OESurface& surf)

   .. oe:language:: python

      .. oe:api:: python

         OECalculateNormals(surf: OESurface) -> bool

   Will calculate a normal vector for every vertex of the surface and
   store them on the surf. To retrieve the vectors after calculation,
   use the :oe:meth:`OESpicoli::OESurface::GetNormals` or
   :oe:meth:`OESpicoli::OESurface::GetNormal` methods. 

   .. seealso::

      * :ref:`surfaces_normal_vectors`

