SWEEP2_VORONOI_EPS
Plot the SWEEP2 Voronoi Diagram


SWEEP2_VORONOI_EPS is a FORTRAN90 program which plots the Voronoi diagram output from sweep2.

Usage:

sweep2_voronoi_eps voronoi_data graph
voronoi_data: is a text file containing a description of the Voronoi diagram, output by sweep2. Each line describes either a site, a vertex, an abstract line, or a Voronoi edge. Indices are counted starting at 0.
graph: is an Encapsulated PostScript file containing an image of the Voronoi diagram.

Licensing:

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

Languages:

SWEEP2_VORONOI_EPS is available in a FORTRAN90 version.

Related Data and Programs:

SWEEP2, a C program which performs the Delaunay triangulation of a set of points, by Steve Fortune.

SWEEP2_DELAUNAY_EPS, a FORTRAN90 program which produces an Encapsulated PostScript image of the Delaunay triangulation of a set of points, as processed by the SWEEP2 program.

Reference:

  1. Franz Aurenhammer,
    Voronoi diagrams - a study of a fundamental geometric data structure,
    ACM Computing Surveys,
    Volume 23, pages 345-405, September 1991.
  2. Steve Fortune,
    A Sweepline Algorithm for Voronoi Diagrams,
    Algorithmica, Volume 2, pages 153-174, 1987.
  3. A copy of the original release of the SWEEP2 code is available through NETLIB at http://www.netlib.org/voronoi/sweep2

Source Code:

Examples and Tests:

DIAMOND is a simple pointset of 9 points:

TEST is a pointset of 100 points:

List of Routines:

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


Last revised on 13 November 2006.