tripack


tripack, a Fortran77 code which computes the Delaunay triangulation of a set of points in the plane, by Robert Renka.

The code has the unusual option of allowing the user to specify constraint curves to be included in the triangulation.

The code is ACM TOMS algorithm 751. The text of the original Fortran77 program is available online through ACM: http://www.acm.org/pubs/calgo or NETLIB: http://www.netlib.org/toms/index.html.

Specifically, the directory http://www.netlib.org/toms/751 contains the original, true, correct version of ACM TOMS Algorithm 751.

Licensing:

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

Languages:

tripack is available in a Fortran77 version and a Fortran90 version.

Related Data and Programs:

tripack_test

delaunay_lmap_2d, a Fortran90 program which computes the Delaunay triangulation of points in the plane subject to a linear mapping.

GEOMPACK, a Fortran90 library which can compute Delaunay triangulations Voronoi diagrams and other information, written by Barry Joe.

STRIPACK, a Fortran90 library which computes the Delaunay triangulation or Voronoi diagram of points on a sphere.

TABLE_DELAUNAY, a Fortran90 program which reads a file of point coordinates in the TABLE format and writes out the Delaunay triangulation.

TRIANGULATION, a Fortran90 library which performs various operations on order 3 ("linear") or order 6 ("quadratic") triangulations.

TRIANGULATION_PLOT, a Fortran90 program which makes a PostScript image of a triangulation of points.

TRIANGULATION_TRIANGLE_NEIGHBORS, a Fortran90 program which reads data defining a triangulation, determines the neighboring triangles of each triangle, and writes that information to a file.

Author:

Robert Renka

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. Robert Renka,
    Algorithm 751: TRIPACK, A Constrained Two-Dimensional Delaunay Triangulation Package,
    ACM Transactions on Mathematical Software,
    Volume 22, Number 1, 1996.
  3. Brian Wichmann, David Hill,
    An Efficient and Portable Pseudo-random Number Generator,
    Applied Statistics,
    Volume 31, Number 2, 1982, pages 188-190.

Source Code:


Last revised on 11 December 2023.