[no,el]=fillsurf(node,face) calculate the enclosed volume for a closed surface author: Qianqian Fang, <q.fang at neu.edu> input: node: node coordinates face: surface triangle list output: vol: total volume of the enclosed space -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net)
0001 function [no,el]=fillsurf(node,face) 0002 % 0003 % [no,el]=fillsurf(node,face) 0004 % 0005 % calculate the enclosed volume for a closed surface 0006 % 0007 % author: Qianqian Fang, <q.fang at neu.edu> 0008 % 0009 % input: 0010 % node: node coordinates 0011 % face: surface triangle list 0012 % 0013 % output: 0014 % vol: total volume of the enclosed space 0015 % 0016 % -- this function is part of iso2mesh toolbox (http://iso2mesh.sf.net) 0017 % 0018 0019 ISO2MESH_TETGENOPT='-YY'; 0020 [no,el]=surf2mesh(node,face,[],[],1,1);