Voronoi diagram, Delaunay triangulation - data structures

元气小坏坏 提交于 2019-12-01 08:40:36

问题


I want to compute Voronoi and its dual, Delaunay triangulation. I am using Watson Bowyer algorithm. My goal afterwards is to compute alpha-shapes (concave hulls). So I will need to rapidly access the voronoi cell for a given point, the neighbors...

Which data structures did you use for your Voronoi/Delaunay algorithm? I have thought of using a disjoint set data structure with union-find operations, so that I can 'bind' to one parent, the point p in original data set, the set of point in Vp. However, one point in Voronoi diagram 'belongs' to several Voronoi cells.

What is your advice, or could you hint at some good reference?

Regards.


回答1:


I suggest that you take a look at the half-edge data structure:

http://www.flipcode.com/archives/The_Half-Edge_Data_Structure.shtml

Half-edge data structure is used in many applications and frameworks. One implementation of it is found in the GEL framework:

http://www2.imm.dtu.dk/projects/GEL/



来源:https://stackoverflow.com/questions/12330342/voronoi-diagram-delaunay-triangulation-data-structures

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