## Voro++ example programs

Voro++ has a C++ interface that can be used to carry out many types of Voronoi computations. In the “examples” directory of the source distribution, there are numerous examples that demonstrate the features of the code. Each of these is described in detail here.

## Basic examples

Constructing a single Voronoi cell |
The Platonic solids |
The Voronoi tessellation for random points in a cube |
Importing particle positions from a file |

## Walls

A cylindrical particle packing |
Voronoi cells in a tetrahedron |
A frustum |
A custom wall object for a toroidal particle packing |

## Customized output and additional features

Statistics for a single Voronoi cell |
Customized output for different statistics |
Concurrent calculations of the normal and radical Voronoi tessellations |

## C++ code interface

An odd–even coloring of a Voronoi cell |
A demonstration of the loop classes |
Detecting polygonal faces with a certain number of sides |
Finding the Voronoi cell that a given point is within |

## Extra examples

Finding the region of space that can cut a Voronoi cell |
Cutting a cell by a grid of points in a box |
Construction of a superellipsoid |
Dealing with irregular particle packings |

## Degenerate vertices and timing

A degenerate cell with cubical symmetry |
A complicated degenerate Voronoi cell |
A timing study using a perl script |