dn''t select any points'</span>)
0066     fprintf([<span class="string">'end   : '</span> subname <span class="string">'\n'</span>])
0067     <span class="keyword">return</span>
0068 <span class="keyword">end</span>;
0069 fprintf(<span class="string">'you selected %d points\n'</span>,npts)
0070 
0071 <span class="comment">% snap to the closest vertices</span>
0072 <span class="keyword">for</span> i=1:npts
0073     [ipt(i),dist] = <a href="find_nearest_pt.html" class="code" title="function [Point,Distance] =