Triangulation of hollow objects
이전 댓글 표시
Hi all,
simply, how to make the simple hollow 3D triangle depicted below?

Is there some contraint method I could use instead? I use the following command to get the surface:
tri = triangulation(delaunay(x,y),x,y,z);
채택된 답변
추가 답변 (1개)
AKennedy
2024년 6월 5일
0 개 추천
Hi Tero,
Here are two possible approaches to create a hollow 3D triangle in MATLAB:
- Using the "patch" function: This function allows you to define a 3D surface using vertices, colors, and transparency. You can create separate surface patches for the outer shell and the inner shell of the triangle, specifying transparency for the inner shell to make it hollow.
- Using implicit functions: You can define the geometry of the hollow triangle using implicit functions. An implicit function defines a shape based on a mathematical equation where all points satisfying the equation are considered inside the shape. By combining two implicit functions, one for the outer shell and another for the inner shell, you can create the desired hollow shape.
Here are some resources that you might find helpful: https://www.mathworks.com/help/matlab/ref/patch.html
댓글 수: 1
DGM
2025년 10월 1일
This doesn't answer the question at all. The question asks how to do the triangulation.
Recommending patch() is pointless since OP has nothing to draw until they get the mesh triangulated. Besides that, we can see that they are already able to do the plotting.
Why would it make sense to try to derive a set of implicit equations to describe an arbitrary triangulated mesh? Even if it made sense in this scenario, that's about like just saying "use an algorithm". It's comically unhelpful.
카테고리
도움말 센터 및 File Exchange에서 Triangulations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


