.. # split from OESpicoliFunctions.rst:767


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OESurfaceCliqueCentroid

.. oe:function:: OESurfaceCliqueCentroid

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

      .. oe:api::

         bool OESurfaceCliqueCentroid(const OESurface& surf,
                                      unsigned int clique, float* centroid)

   .. oe:language:: python

      .. oe:api:: python

         OESurfaceCliqueCentroid(surf: OESurface, clique: int,
                                 centroid: OEFloatArray) -> bool

   Return the centroid coordinates $(x,y,z)$ in centroid for
   clique. Zero is not a valid clique. 

   .. seealso::
   
      * The :ref:`manipulation_cliques` section on how vertex cliques
        are assigned to triangles.

