SXYZ_DELAUNAY
Delaunay Triangulation on Unit Sphere


SXYZ_DELAUNAY is a FORTRAN90 program which computes the Delaunay triangulation of points on the unit sphere.

SXYZ_DELAUNAY takes as input an XYZ file, containing coordinates of points on the unit sphere in 3D. It passes this data to Renka's STRIPACK library which computes the Delaunay triangulation. The program then takes one "snapshot" of the triangulation, which is written to an EPS image file, and stores the line information that defines the Delaunay triangulation as an XYZL file.

Usage:

sxyz_delaunay file.xyz
reads the XYZ file file.xyz containing the point coordinates, creates an EPS file file.eps containing a 2D projection of the Delaunay triangulation, and creates an XYZL file file.xyzl which can be used, in conjunction with file.xyz to display the 3D triangulation.

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:

EPS, a data directory which contains examples of EPS files, the Encapsulated PostScript file format for 2D graphics;

IVREAD is a FORTRAN90 program which converts graphics information between various 3D formats.

SCVT is a FORTRAN90 library which can find a set of well separated points on a sphere using Centroidal Voronoi Tessellations.

SPHERE_DESIGN_RULE is a FORTRAN90 library which returns point sets on the surface of the unit sphere, known as "designs", which can be useful for estimating integrals on the surface, among other uses.

STRIPACK is a FORTRAN90 library which computes the Delaunay triangulation of the points on the unit sphere.

STRIPACK_INTERACTIVE is a FORTRAN90 program which reads a set of points on the unit sphere, computes the Delaunay triangulation, and writes it to a file.

SXYZ_VORONOI is a FORTRAN90 program which computes and plots the Voronoi diagram of points on the unit sphere.

XYZ, a data directory which contains examples of XYZ files, a simple 3D graphics point format;

XYZ_IO is a FORTRAN90 library which reads and writes XYZ files.

XYZL, a data directory which contains examples of XYZL files, a simple 3D graphics point and line format;

XYZL_DISPLAY is a MATLAB program which reads XYZL information defining points and lines in 3D, and displays an image in a MATLAB graphics window.

XYZL_DISPLAY_OPEN_GL is a C++ program which reads XYZL information defining points and lines in 3D, and displays an image using OpenGL.

Reference:

  1. Robert Renka,
    Algorithm 772: STRIPACK,
    Delaunay Triangulation and Voronoi Diagram on the Surface of a Sphere,
    ACM Transactions on Mathematical Software,
    Volume 23, Number 3, 1997.
  2. Edward Saff, Arno Kuijlaars,
    Distributing Many Points on a Sphere,
    The Mathematical Intelligencer,
    Volume 19, Number 1, 1997, pages 5-11.

Source Code:

Examples and Tests:

GEN_00010 is a test set of 10 points:

GEN_00100 is a test set of 100 points:

List of Routines:

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


Last revised on 19 December 2008.