Meshing around the outside of a circle
조회 수: 3 (최근 30일)
이전 댓글 표시
I am creating a 3D plot using individual, unevenly spaced data points obtained around the outside of a rod. I am currently using the meshgrid and griddata funtions to interpolate and plot them around the outside contour of a circle representing the rod. However when I do, the delaunay triangles created in the mesh extend into and across the circle.
Is there a way to create the mesh such that it stops at the outer boundary of the circle?
Thanks.
댓글 수: 2
Walter Roberson
2011년 11월 1일
I don't know if this could be theoretically done, except by interpolating on an infinitely fine mesh. But that's just a seat-of-the-pants judgment, and there could be a way that did not come to mind.
Amith Kamath
2011년 11월 2일
I'm not an expert at this, but I did work on 3D models using patch and isosurface. Have you considered using these? I could generate 3D models and export it to CAD packages as a .stl file using the patch command.
답변 (1개)
Patrick Kalita
2011년 11월 2일
Are you using the DelaunayTri class to generate the mesh? If so, you might be able to use the Constraints property. This documentation page has a nice example: http://www.mathworks.com/help/techdoc/ref/delaunaytri.inoutstatus.html
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!