VORONOI - Voronoi and Delaunay Calculations

VORONOI computes the Voronoi diagram or Delaunay triangulation of a set of points in the plane.

Usage:

voronoi -p -s -t
reads the standard input for a set of points in the plane and writes either the Voronoi diagram or the Delaunay triangulation to the standard output. Each input line consists of two real values separated by spaces or tab characters.

Input to the program is a text file containing the coordinates of points in the plane. Each input line consists of two real values separated by spaces or tab characters. If the S option is used, then the points should be sorted by Y coordinate, and an extra initial line should be inserted into the file, having the form

npoints xmin xmax ymin ymax
indicating the number of points and their range.

Output from the program...

Options:

Files you may copy include:

Back to the C software page.


Last revised on 18 February 2001.