Surface mesh of a 3D volume

조회 수: 3 (최근 30일)
Tom Kirk
Tom Kirk 2017년 11월 3일
댓글: Tom Kirk 2017년 11월 3일
Hi everyone,
I need to create a surface mesh (in the standard MATLAB [p,e,t] form) for a sphere. After having read an answer to a similar question, the current approach I am taking is to generate the points of a sphere using the sphere() function, then use convhull() to take the convex hull of these points. The problem is that convhull returns tetrahedra (3D volume elements) whereas I want only 2D surface elements (ie, triangles). Right now I am getting around this by filtering through each hull generated by convhull() and discarding any points not on the surface of the sphere, therefore transforming from 3D to 2D. I would be grateful for any suggestions about how I could better do this.
To recap, I would like to generate a mesh for the surface only of a 3D volume.
Thank you in anticipation.
  댓글 수: 1
Tom Kirk
Tom Kirk 2017년 11월 3일
I have now found a workable solution to this using the convex hulls method, please regard this as closed.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by