F = freeBoundary(TR)
returns the free boundary facets of the triangles or tetrahedra in
TR. A facet in TR is on the free boundary
if it is referenced by only one triangle or tetrahedron.
Triangulation connectivity list, returned as a matrix.
If you call freeBoundary with one output argument, then
the elements of F are row numbers in the
Points property of the input triangulation. If you
call freeBoundary with two output arguments, then the
elements of F are row numbers in
P.
Data Types: double
P — Free boundary points matrix
Free boundary points, returned as a matrix containing the coordinates of
the vertices of the free boundary facets. Each row of P
contains the coordinates of a vertex.