Code covered by the BSD License  

Highlights from
Toolbox Graph

image thumbnail
from Toolbox Graph by Gabriel Peyre
A toolbox to perform computations on graph.

test_free_boundary.m
%   test for triangulation parameterization
%   using free boundariy (neumann conditions)
%
%  Copyright (c) 2007 Gabriel Peyre

filename = 'nefertiti.off';
[vertex,face] = read_mesh(filename);

options.method = 'freeboundary';
vertex1 = compute_parameterization(vertex,face, options);

A = triangulation2adjacency(face);
plot_graph(A,vertex1);

Contact us at files@mathworks.com