MESHFACEADJACENCY Compute adjacency list of face around each face.
Example
% Create a sample 3D mesh
[v, e, f] = createDodecahedron;
adjList = meshFaceAdjacency(v, e, f);
figure; hold on; axis equal; view([100 40]);
drawMesh(v, f);
% draw sample face in a different color
drawMesh(v, f(1, :), 'faceColor', 'b');
% draw the neighbors of a sample face
drawMesh(v, f(adjList{1}, :), 'faceColor', 'g')
Package: matgeom