Clear Filters
Clear Filters

Triangulation of non-convex hull

12 views (last 30 days)
Ammar
Ammar on 16 Oct 2017
Commented: Ammar on 10 Nov 2017
Dear all, Today I have a question. How can we triangulate a non-convex hull in any dimension? For example, in attachment files, a picture of the 2D non-convex hull and I am looking to divide them into a sequence of triangles. I already read the paper in attachment file to get better understand and I tried 3 MATLAB functions:
  • 1. trep = triangulation(tri, x,y);
  • 2. T = delaunayn(dataset,{'Qt','Qbb','Qc','Qz'});
  • 3. shp = alphaShape(x,y,2);Unfortunately, these functions do not work with non-convex hulls!Please, any idea to solve this problem in 2D and in nD.
Kind regards Ammar
  5 Comments
Jan
Jan on 10 Nov 2017
alphaShape is not restricted to convex hulls. Note that the triangulation of a non-convex hull is not unique and you need any additional knowledge to determine, which points belong to the surface and which don't. And alphaShape does exactly this.
Ammar
Ammar on 10 Nov 2017
Dear Jan, Thank you very much for this information. Forgive me if it is silly question, depend on my understanding the alphaShape works just with 2D and 3D not more !

Sign in to comment.

Answers (1)

KSSV
KSSV on 10 Nov 2017

Categories

Find more on Bounding Regions 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!