Incomputational geometry, aDelaunay triangulation orDelone triangulation of a set of points in the plane subdivides theirconvex hull[1] into triangles whosecircumcircles do not contain any of the points; that is, each circumcircle has its generating points on its circumference, but all other points in the set are outside of it. This maximizes the size of the smallest angle in any of the triangles, and tends to avoidsliver triangles.
The triangulation is named afterBoris Delaunay for his work on it from 1934.[2]
If the points all lie on a straight line, the notion of triangulation becomesdegenerate and there is no Delaunay triangulation. For four or more points on the same circle (e.g., the vertices of a rectangle) the Delaunay triangulation is not unique: each of the two possible triangulations that split thequadrangle into two triangles satisfies the "Delaunay condition", i.e., the requirement that the circumcircles of all triangles have empty interiors.
By considering circumscribed spheres, the notion of Delaunay triangulation extends to three and higher dimensions. Generalizations are possible tometrics other thanEuclidean distance. However, in these cases a Delaunay triangulation is not guaranteed to exist or be unique.
The Delaunaytriangulation of adiscrete point setP in general position corresponds to thedual graph of theVoronoi diagram forP.Thecircumcenters of Delaunay triangles are the vertices of the Voronoi diagram.In the 2D case, the Voronoi vertices are connected via edges, that can be derived from adjacency-relationships of the Delaunay triangles: If two triangles share an edge in the Delaunay triangulation, their circumcenters are to be connected with an edge in the Voronoi tesselation.
Special cases where this relationship does not hold, or is ambiguous, include cases like:
For a setP of points in the (d-dimensional)Euclidean space, aDelaunay triangulation is atriangulationDT(P) such that no point inP is inside thecircum-hypersphere of anyd-simplex inDT(P). It is known[2] that there exists a unique Delaunay triangulation forP ifP is a set of points ingeneral position; that is, the affine hull ofP isd-dimensional and no set ofd + 2 points inP lie on the boundary of a ball whose interior does not intersectP.
The problem of finding the Delaunay triangulation of a set of points ind-dimensionalEuclidean space can be converted to the problem of finding theconvex hull of a set of points in (d + 1)-dimensional space. This may be done by giving each pointp an extra coordinate equal to|p|2, thus turning it into a hyper-paraboloid (this is termed "lifting"); taking the bottom side of the convex hull (as the top end-cap faces upwards away from the origin, and must be discarded); and mapping back tod-dimensional space by deleting the last coordinate. As the convex hull is unique, so is the triangulation, assuming all facets of the convex hull aresimplices. Nonsimplicial facets only occur whend + 2 of the original points lie on the samed-hypersphere, i.e., the points are not in general position.[3]
Letn be the number of points andd the number of dimensions.
From the above properties an important feature arises: Looking at two triangles△ABD, △BCD with the common edgeBD (see figures), if the sum of the anglesα + γ ≤ 180°, the triangles meet the Delaunay condition.
This is an important property because it allows the use of aflipping technique. If two triangles do not meet the Delaunay condition, switching the common edgeBD for the common edgeAC produces two triangles that do meet the Delaunay condition:
This operation is called aflip, and can be generalised to three and higher dimensions.[8]
Many algorithms for computing Delaunay triangulations rely on fast operations for detecting when a point is within a triangle's circumcircle and an efficient data structure for storing triangles and edges. In two dimensions, one way to detect if pointD lies in the circumcircle ofA, B, C is to evaluate thedeterminant:[9]
WhenA, B, C are sorted in acounterclockwise order, this determinant is positive only ifD lies inside the circumcircle.
As mentioned above, if a triangle is non-Delaunay, we can flip one of its edges. This leads to a straightforward algorithm: construct any triangulation of the points, and then flip edges until no triangle is non-Delaunay. Unfortunately, this can takeΩ(n2) edge flips.[10] While this algorithm can be generalised to three and higher dimensions, its convergence is not guaranteed in these cases, as it is conditioned to the connectedness of the underlyingflip graph: this graph is connected for two-dimensional sets of points, but may be disconnected in higher dimensions.[8]
The most straightforward way of efficiently computing the Delaunay triangulation is to repeatedly add one vertex at a time, retriangulating the affected parts of the graph. When a vertexv is added, we split in three the triangle that containsv, then we apply the flip algorithm. Done naïvely, this will takeO(n) time: we search through all the triangles to find the one that containsv, then we potentially flip away every triangle. Then the overall runtime isO(n2).
If we insert vertices in random order, it turns out (by a somewhat intricate proof) that each insertion will flip, on average, onlyO(1) triangles – although sometimes it will flip many more.[11] This still leaves the point location time to improve. We can store the history of the splits and flips performed: each triangle stores a pointer to the two or three triangles that replaced it. To find the triangle that containsv, we start at a root triangle, and follow the pointer that points to a triangle that containsv, until we find a triangle that has not yet been replaced. On average, this will also takeO(logn) time. Over all vertices, then, this takesO(n logn) time.[12] While the technique extends to higher dimensions (as proved by Edelsbrunner and Shah[13]), the runtime can be exponential in the dimension even if the final Delaunay triangulation is small.
TheBowyer–Watson algorithm provides another approach for incremental construction. It gives an alternative to edge flipping for computing the Delaunay triangles containing a newly inserted vertex.
Unfortunately the flipping-based algorithms are generally hard to parallelize, since adding some certain point (e.g. the center point of a wagon wheel) can lead to up toO(n) consecutive flips. Blelloch et al.[14] proposed another version of incremental algorithm based on rip-and-tent, which is practical and highly parallelized with polylogarithmicspan.
Adivide and conquer algorithm for triangulations in two dimensions was developed by Lee and Schachter and improved byGuibas andStolfi[9][15] and later by Dwyer.[16] In this algorithm, one recursively draws a line to split the vertices into two sets. The Delaunay triangulation is computed for each set, and then the two sets are merged along the splitting line. Using some clever tricks, the merge operation can be done in timeO(n), so the total running time isO(n logn).[17]
For certain types of point sets, such as a uniform random distribution, by intelligently picking the splitting lines the expected time can be reduced toO(n log logn) while still maintaining worst-case performance.
A divide and conquer paradigm to performing a triangulation ind dimensions is presented in "DeWall: A fast divide and conquer Delaunay triangulation algorithm in Ed" by P. Cignoni, C. Montani, R. Scopigno.[18]
The divide and conquer algorithm has been shown to be the fastest DT generation technique sequentially.[19][20]
Sweephull[21] is a hybrid technique for 2D Delaunay triangulation that uses a radially propagating sweep-hull, and a flipping algorithm. The sweep-hull is created sequentially by iterating a radially-sorted set of 2D points, and connecting triangles to the visible part of the convex hull, which gives a non-overlapping triangulation. One can build a convex hull in this manner so long as the order of points guarantees no point would fall within the triangle. But, radially sorting should minimize flipping by being highly Delaunay to start. This is then paired with a final iterative triangle flipping step.
TheEuclidean minimum spanning tree of a set of points is a subset of the Delaunay triangulation of the same points,[22] and this can be exploited to compute it efficiently.
For modellingterrain or other objects given apoint cloud, the Delaunay triangulation gives a nice set of triangles to use as polygons in the model. In particular, the Delaunay triangulation avoids narrow triangles (as they have large circumcircles compared to their area). Seetriangulated irregular network.
Delaunay triangulations can be used to determine the density or intensity of points samplings by means of theDelaunay tessellation field estimator (DTFE).
Delaunay triangulations are often used togenerate meshes for space-discretised solvers such as thefinite element method and thefinite volume method of physics simulation, because of the angle guarantee and because fast triangulation algorithms have been developed. Typically, the domain to be meshed is specified as a coarsesimplicial complex; for the mesh to be numerically stable, it must be refined, for instance by usingRuppert's algorithm.
The increasing popularity offinite element method andboundary element method techniques increases the incentive to improve automatic meshing algorithms. However, all of these algorithms can create distorted and even unusable grid elements. Fortunately, several techniques exist which can take an existing mesh and improve its quality. For example, smoothing (also referred to as mesh refinement) is one such method, which repositions nodes to minimize element distortion. Thestretched grid method allows the generation of pseudo-regular meshes that meet the Delaunay criteria easily and quickly in a one-step solution.
Constrained Delaunay triangulation has found applications inpath planning in automated driving and topographic surveying.[23]
{{cite web}}
: CS1 maint: archived copy as title (link)