Triangulation of non-convex hull
12 views (last 30 days)
Show older comments
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
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.
Answers (1)
KSSV
on 10 Nov 2017
Read about delaunayTriangulation. Also have a look on this package: https://in.mathworks.com/matlabcentral/fileexchange/25555-mesh2d-delaunay-based-unstructured-mesh-generation
0 Comments
See Also
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!