VORONOI_PLOT
Plot Voronoi Neighborhoods


VORONOI_PLOT is a FORTRAN90 program which plots a set of Voronoi neighborhoods.

The user must specify the name of a file containing the X and Y coordinates of the pointset to be analyzed. The points must lie in the unit square.

The program allows the user to choose the LP norm in which distances are calculated, with P any positive real value. In particular

Usage:

voronoi_plot file_name p
file_name is the name of a file containing the points;
p chooses the P-norm, with the special value of 0 for L-infinity.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

GEOMPACK is a FORTRAN90 library which can compute the Voronoi diagram associated with a set of points.

MATLAB includes the command voronoi which can compute and display the Voronoi diagram associated with a set of points.

PPMA is a file format which is used for the output graphics files created by VORONOI_PLOT. These files can be displayed by programs such as GIMP, the GNU Image Manipulation Program or XV.

PPMA_IO is a FORTRAN90 library which can write out an ASCII PPM file. These routines are used by VORONOI_PLOT.

QVORONOI is a C program which can compute the Voronoi diagram associated with a set of points.

TABLE_VORONOI is a FORTRAN90 program which can compute the Voronoi diagram associated with a set of points.

TRIANGLE is a C program which can compute and display the Voronoi diagram associated with a set of points.

Reference:

  1. Franz Aurenhammer,
    Voronoi diagrams - a study of a fundamental geometric data structure,
    ACM Computing Surveys,
    Volume 23, Number 3, pages 345-405, September 1991,
    ../../pdf/aurenhammer.pdf
  2. Herbert Edelsbrunner,
    Geometry and Topology for Mesh Generation,
    Cambridge, 2001,
    QA377.E36,
    ISBN 0-521-79309-2.
  3. Joseph O'Rourke,
    Computational Geometry,
    Cambridge University Press,
    Second Edition, 1998,
    QA448.D38.

Source Code:

Examples and Tests:

DIAMOND_02_00009 is a set of 9 points whose Voronoi diagram includes a "diamond" shaped region. Test files you may copy include:

UNIFORM_02_00010 is a set of 10 points chosen "randomly". Test files you may copy include:

List of Routines:

You can go up one level to the FORTRAN90 source codes.


Last revised on 13 November 2005.