FUNCTION REFERENCE

neighbors

Find the neighboring triangles or tetrahedra of a Delaunay triangulation.

Find the neighboring triangles or tetrahedra of a Delaunay triangulation.

Syntax

N = neighbors(DT)

N(i,j) gives the simplex across the facet opposite vertex j of simplex i. Boundary facets have NaN neighbors.

Example

DT = delaunayTriangulation([0 0; 1 0; 1 1; 0 1]); neighbors(DT)

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.