SWEEP2_DELAUNAY_EPS
Plot the SWEEP2 Delaunay Triangulation


SWEEP2_DELAUNAY_EPS is a FORTRAN90 program which plots the Delaunay triangulation output from sweep2.

Usage:

sweep2_delaunay_eps points triangles graph
points is a text file of point coordinates. Each line lists the x and y coordinates of one point. This file can be considered a comment-free form of a real TABLE file.
triangles is a text file of triangle descriptions created by sweep2. Each line lists indices of the three points that make up a triangle. Indices are counted starting at 0. This file can be considered a comment-free form of an integer TABLE file.
graph: is an Encapsulated PostScript file containing an image of the Delaunay triangulation.

Licensing:

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

Languages:

SWEEP2_DELAUNAY_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_VORONOI_EPS, a FORTRAN90 program which produces an Encapsulated PostScript image of the Voronoi diagram 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.