ConvexHullVertices example
Example Cellzilla2D notebook.
GPL License applies.
See http://xlr8r.info and http://cellzilla.info for further details.
In[1]:=
In[2]:=
Generate random vertices to use as Voronoi Centers
In[3]:=
The built in ConvexHull function gives the convex hull in a storage-efficient format.
In[5]:=
Out[5]=
get the vertices by indexing int vertices
In[6]:=
Out[6]=
Use ConvexHullVertices to calculate the vertex coordinates directly for plotting. It combines the last two steps together into a single step.
In[7]:=
Out[7]=
In[8]:=
Out[8]=