
############################
sortVerticesCounterClockwise
############################

.. js:function:: wv.sortVerticesCounterClockwise

   .. rst-class:: sig-pretty-signature
   
      | sortVerticesCounterClockwise(**vertices**\ : :js:class:`IPoint3 <wv.IPoint3>`\ [], **base**\ : :js:class:`IPoint3 <wv.IPoint3>`\ []): :js:class:`IPoint3 <wv.IPoint3>`\ []
   
   Sorts an array of vertices in counter-clockwise order around their centroid.
   
   **Parameters**
   
   
      **vertices**\ : :js:class:`IPoint3 <wv.IPoint3>`\ []
   
   
         An array of vertices to be sorted.
   
   
      **base**\ : :js:class:`IPoint3 <wv.IPoint3>`\ []
   
   
         A base array used to determine the sorting order.
   
   
   
   **Returns**\ : :js:class:`IPoint3 <wv.IPoint3>`\ []
   
   
      A new array of vertices sorted in counter-clockwise order.
   
   




