.. # split from OESpicoliFunctions.rst:327


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OEMakeCliqueSurface

.. oe:function:: OEMakeCliqueSurface

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

      .. oe:api::

         bool OEMakeCliqueSurface(OESurface& newsurf, const OESurface& surf,
                                  unsigned int clique)

   .. oe:language:: python

      .. oe:api:: python

         OEMakeCliqueSurface(newsurf: OESurface, surf: OESurface, clique: int) -> bool

   Creates a new surface in ``newsurf`` from the triangles in ``surf``
   marked with the vertex clique value clique. Zero is not a valid
   clique. See the :ref:`manipulation_cliques` section on how vertex
   cliques are assigned to triangles. See the
   :ref:`generation_surfaces` section for an explanation of how
   Spicoli handles subset boundaries. Returns ``true`` if successful.

