FUNCTION REFERENCE

delaunayTriangulation.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)

Syntax

N = DT.neighbors()

Returns an M-by-3 (2-D) or M-by-4 (3-D) matrix where N(i, j) is the simplex adjacent to simplex i across the facet opposite vertex j, or NaN on the boundary.

Example

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

Differences from MATLAB: Simplex ID subset arguments (neighbors(DT, ti)) are not supported yet.

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