Revision 85dfd72f71e3fce6bfc7cf1d2fe9ea93663a1bee authored by Alec Jacobson on 22 August 2020, 18:02:24 UTC, committed by Alec Jacobson on 22 August 2020, 18:02:24 UTC
1 parent bee2edb
Raw File
read_mesh_from_xml.m
% READ_MESH_FROM_XML Read a mesh from an xml file written using
% igl::serialize_xml V from the <vertices> tag and F from the <faces> tag. V
% may be written using CGAL::Epeck but will be converted summarily to
% double upon reading.
%
% [V,F] = read_mesh_from_xml(filename)
%
% Inputs:
%   filename  path to .xml file
% Outputs:
%   V  #V by 3 list of vertex positions
%   F  #F by 3 list of face indices into V
%
back to top