ConvexHullVertices example

Example Cellzilla2D notebook.

GPL License applies.
See http://xlr8r.info and http://cellzilla.info for further details.

In[1]:=

ConvexHullVertices-example_1.gif

ConvexHullVertices-example_2.gif

In[2]:=

ConvexHullVertices-example_3.gif

Generate  random vertices to use as Voronoi Centers

In[3]:=

ConvexHullVertices-example_4.gif

The built in ConvexHull function gives the convex hull in a storage-efficient format.

In[5]:=

ConvexHullVertices-example_5.gif

Out[5]=

ConvexHullVertices-example_6.gif

get the vertices by indexing int vertices

In[6]:=

ConvexHullVertices-example_7.gif

Out[6]=

ConvexHullVertices-example_8.gif

Use ConvexHullVertices to calculate the vertex coordinates directly for plotting. It combines the last two steps together into a single step.

In[7]:=

ConvexHullVertices-example_9.gif

Out[7]=

ConvexHullVertices-example_10.gif

In[8]:=

ConvexHullVertices-example_11.gif

Out[8]=

ConvexHullVertices-example_12.gif

Spikey Created with Wolfram Mathematica 8.0