FUNCTION REFERENCE
delaunayTriangulation.vertexAttachments
List the triangles or tetrahedra attached to each vertex of a Delaunay triangulation.
List the triangles or tetrahedra attached to each vertex of a Delaunay triangulation.
Syntax
C = vertexAttachments(DT)Syntax
C = DT.vertexAttachments()Returns a column cell array with one cell per vertex in DT.Points containing ascending row indices into DT.ConnectivityList for the incident simplices.
Example
DT = delaunayTriangulation([0 0; 4 0; 1 3; 1.5 1]); C = DT.vertexAttachments()Differences from MATLAB: Passing a vertex ID list (vertexAttachments(DT, vi)) is not supported yet.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.