Triangulation

One alternative to the vertical decomposition is to perform a triangulation, which yields a simplicial complex over $ {\cal C}_{free}$. Figure 6.16 shows an example. Since $ {\cal C}_{free}$ is an open set, there are no 0-cells. Each $ 2$-simplex (triangle) has either one, two, or three faces, depending on how much of its boundary is shared with $ {\cal C}_{obs}$. A roadmap can be made by connecting the samples for $ 1$-cells and $ 2$-cells as shown in Figure 6.17. Note that there are many ways to triangulate $ {\cal C}_{free}$ for a given problem. Finding good triangulations, which for example means trying to avoid thin triangles, is given considerable attention in computational geometry [129,264,302].

Figure 6.16: A triangulation of $ {\cal C}_{free}$.
\begin{figure}\centerline{\psfig{file=figs/triangulate.eps,width=3.5in}}\end{figure}

Figure 6.17: A roadmap obtained from the triangulation.
\begin{figure}\centerline{\psfig{file=figs/triangulate2.eps,width=4.5in}}\end{figure}

How can the triangulation be computed? It might seem tempting to run the vertical decomposition algorithm of Section 6.2.2 and split each trapezoid into two triangles. Even though this leads to triangular cells, it does not produce a simplicial complex (two triangles could abut the same side of a triangle edge). A naive approach is to incrementally split faces by attempting to connect two vertices of a face by a line segment. If this segment does not intersect other segments, then the split can be made. This process can be iteratively performed over all vertices of faces that have more than three vertices, until a triangulation is eventually obtained. Unfortunately, this results in an $ O(n^3)$ time algorithm because $ O(n^2)$ pairs must be checked in the worst case, and each check requires $ O(n)$ time to determine whether an intersection occurs with other segments. This can be easily reduced to $ O(n^2 \lg n)$ by performing radial sweeping. Chapter 3 of [264] presents an algorithm that runs in $ O(n \lg n)$ time by first partitioning $ {\cal C}_{free}$ into monotone polygons, and then efficiently triangulating each monotone polygon. If $ {\cal C}_{free}$ is simply connected, then, surprisingly, a triangulation can be computed in linear time [190]. Unfortunately, this algorithm is too complicated to use in practice (there are, however, simpler algorithms for which the complexity is close to $ O(n)$; see [90] and the end of Chapter 3 of [264] for surveys).

Steven M LaValle 2012-04-20