Triangle or tetrahedron neighbors
returns the IDs of the neighbors to all triangles or tetrahedra in
N
= neighbors(TR
)TR
. N
is a 3-column (2-D) or 4-column
(3-D) matrix whose rows contain the IDs of the neighboring triangles or tetrahedra
to that element in the triangulation.