Determine cross sectional area from patch data
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
J Travis Hunsucker
am 17 Dez. 2019
Kommentiert: J Travis Hunsucker
am 18 Dez. 2019
Hello,
I am trying to slice a patch object and determine the cross sectional areas and ordinates at different vertical points.
For example, if I take the Matlab teapot example shown below. I would like to slice the teapot at z=0.5:0.5:2.5 and determine the area and the ordinates in the XY plane.
[verts, faces, cindex] = teapotGeometry;
figure
p = patch('Faces',faces,'Vertices',verts,'FaceVertexCData',cindex,'FaceColor','interp')
view(3)
xlabel('X');ylabel('Y');zlabel('Z')
0 Kommentare
Akzeptierte Antwort
darova
am 17 Dez. 2019
I think there is no built-in function for your purpose
Try to search something like THIS
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Graphics Performance finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!