How to extract edges of a whole 3D plot and also for the holes in it?
18 views (last 30 days)
Show older comments
Faez Alkadi on 30 Sep 2017
Commented: Faez Alkadi on 24 Oct 2017
I have used the function (plotIGES) to plot a 3D IGES surface(as shown in the picture and attached).And I want to extract the edges of the whole surface and the hole(s) in it?
According to plotIGES function the surface can be plotted as triangular patches or triangular mesh as shown
FacePlot=plotIGES(ParameterData,1,1,1000,1,10,1,'r');%you can change the second input to 2 to get triangular mesh
Help would be appreciated.
Thank you so much.
KSSV on 5 Oct 2017
load fv.mat ;
tri = fv.faces ;
coor = fv.vertices ;
[e,te,e2t,bnd] = connectivity(coor(:,1:2),tri) ;
More Answers (0)
Find more on Polygons in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!