www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/EdgeAttachmentsin3DTriangulationExample.m
%% Edge Attachments in 3-D Triangulation %% % Load 2-D triangulation data and create a triangulation representation. load tetmesh TR = triangulation(tet,X); %% % Define the starting and ending vertices of the edges. vstart = [15; 21]; vend = [936; 716]; %% % Find the edge attachments. ti = edgeAttachments(TR,vstart,vend); %% % Examine the attachments to the first edge. ti{1}