# SPHERE_DELAUNAY Delaunay Triangulation of Points on the Unit Sphere

SPHERE_DELAUNAY is a MATLAB library which computes the Delaunay triangulation of points on the unit sphere.

According to Steven Fortune, it is possible to compute the Delaunay triangulation of points on a sphere by computing their convex hull. If the sphere is the unit sphere at the origin, the facet normals are the Voronoi vertices.

SPHERE_DELAUNAY uses this approach, by calling MATLAB's convhulln function to generate the convex hull. The information defining the convex hull is actually the desired triangulation of the points. Since this computation is so easy, other parts of the program are designed to analyze the resulting Delaunay triangulation and return other information, such as the areas of the triangles and so on.

### Languages:

SPHERE_DELAUNAY is available in a FORTRAN90 version and a MATLAB version.

### Related Data and Programs:

GEOMETRY, a MATLAB library which computes various geometric quantities, including grids on spheres.

SPHERE_CVT, a MATLAB library which creates a mesh of well-separated points on a unit sphere by applying the Centroidal Voronoi Tessellation (CVT) iteration.

SPHERE_DESIGN_RULE, 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.

SPHERE_GRID, a MATLAB library which provides a number of ways of generating grids of points, or of points and lines, or of points and lines and faces, over the unit sphere.

SPHERE_VORONOI, a MATLAB program which computes the Voronoi diagram of points on a sphere.

SPHERE_VORONOI_DISPLAY_OPENGL, a C++ program which displays a sphere and randomly selected generator points, and then gradually colors in points in the sphere that are closest to each generator.

SPHERE_XYZ_DISPLAY, a MATLAB program which reads XYZ information defining points in 3D, and displays a unit sphere and the points in the MATLAB graphics window.

SPHERE_XYZF_DISPLAY, a MATLAB program which reads XYZF information defining points and faces, and displays a unit sphere, the points, and the faces, in the MATLAB graphics window. This can be used, for instance, to display Voronoi diagrams or Delaunay triangulations on the unit sphere.

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

STRIPACK_DELAUNAY, a FORTRAN90 program which reads an XYZ file of 3D points on the unit sphere, computes the Delaunay triangulation, and writes it to a file.

TOMS772, a FORTRAN77 library which is the original text of the STRIPACK program.

### Reference:

1. Jacob Goodman, Joseph ORourke, editors,
Handbook of Discrete and Computational Geometry,
Second Edition,
CRC/Chapman and Hall, 2004,
ISBN: 1-58488-301-4,
LC: QA167.H36.
2. 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, September 1997, pages 416-434.

### Examples and Tests:

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

Last revised on 22 May 2012.