首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >CGAL中有效的k阶voronoi图和3d voronoi图

CGAL中有效的k阶voronoi图和3d voronoi图
EN

Stack Overflow用户
提问于 2014-02-21 02:31:34
回答 1查看 812关注 0票数 3

我在CGAL中很难计算k阶Voronoi图和3d voronoi图。

  1. 首先,从给定的点集(2d/3d)计算k阶Voronoi图(k是最近邻数)。
代码语言:javascript
复制
- As far as I know, there is a header file "k\_delaunay.h" (code [here](https://github.ugent.be/divhaere/cgal/blob/master/demo/CGAL_ipelets/include/CGAL_ipelets/k_delaunay.h)) in CGAL demo ipelet folder. And it can calculate a k-order _regular triangulation_.  And I believe I can convert regular triangulation to Delaunay triangulation. 
- However, from the code we can see the complexity is very high. I have tested 300k 2d points, and the actual run time for calculating k-order Voronoi diagram is not acceptable. So I wonder is there any other implementation of k-order Voronoi diagram in CGAL(the rest of my code is written in CGAL, so I really want to use the existing data structures)? 

  1. 另外,由于CGAL的voronoi图适配器只支持2D,是否有任何有效的方法将3D delaunay三角剖分转换为3D voronoi图?

谢谢!

EN

回答 1

Stack Overflow用户

发布于 2014-07-04 08:49:11

而不是k阶,您可以使用分层聚类,即树状图。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21924120

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档