3D contour of a list of points (concave hull)

时光总嘲笑我的痴心妄想 提交于 2019-12-06 08:14:01

问题


I have a list of Vector3 points in c#, and I need to calculate the concave contour of these. There's really a lot of references around, especially for -convex- resolution (which I have successfully implemented already, thanks to graham's algorithm),

however, since my need is now to effectively compute a concave contour, I'm lost: wikipedia does list a lot of resources for convex calculation, but none for -concave-.

Anybody with math knowledge that can give me a lead on the available concave hull algorithms?

I have a concern for performance, too, so being able to benchmark the algorithm speed a priori would be very helpful.

Thanks.


回答1:


'Concave hull' is not a well-defined mathematical concept; there are many possible algorithms giving different reasonable results, which is why there are few resources on it. Try googling '3D alpha shapes' for something that might suit your needs, e.g. http://www.cgal.org/Manual/3.2/doc_html/cgal_manual/Alpha_shapes_3/Chapter_main.html



来源:https://stackoverflow.com/questions/8023301/3d-contour-of-a-list-of-points-concave-hull

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!