Home > vbmeg > functions > plotfunc > subdirectory > vb_plot_boundary_edge.m

vb_plot_boundary_edge

PURPOSE ^

SYNOPSIS ^

function vb_plot_boundary_edge(F,V)

DESCRIPTION ^

 Copyright (C) 2011, ATR All Rights Reserved.
 License : New BSD License(see VBMEG_LICENSE.txt)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function vb_plot_boundary_edge(F,V)
0002 %
0003 % Copyright (C) 2011, ATR All Rights Reserved.
0004 % License : New BSD License(see VBMEG_LICENSE.txt)
0005 
0006 % Make vertex index list for boundary closed loop
0007 [Vlist] = vb_boundary_edge(F,V);
0008 
0009 Nline = length(Vlist);
0010 
0011 for n=1:Nline
0012     ID = Vlist{n};
0013     plot3(V(ID,1),V(ID,2),V(ID,3),'r-')
0014     hold on
0015     plot3(V([ID(1) ID(n)],1),V([ID(1) ID(n)],2),V([ID(1) ID(n)],3),'r-')
0016 end

Generated on Mon 22-May-2023 06:53:56 by m2html © 2005