N = neighbors(TR,ti)
N = neighbors(TR)
returns
the neighbors of the triangles or tetrahedra specified in N
= neighbors(TR
,ti
)ti
.
returns
the neighbors of all the triangles or tetrahedra.N
= neighbors(TR
)
 Triangulation representation, see 

Triangle or tetrahedron IDs, specified as a column vector. 

IDs of the neighboring triangles or tetrahedra, returned as
a matrix. The elements in By convention, 
A row number of the matrix, TR.ConnectivityList
.
Use this ID to refer a specific triangle or tetrahedron.
A row number of the matrix, TR.Points
. Use
this ID to refer a specific vertex in the triangulation.