CGAL, Cropped voronoi diagram confined in a rectangle

前端 未结 3 1570
鱼传尺愫
鱼传尺愫 2021-02-06 17:38

I\'m using CGAL with Qt to draw Voronoi diagram. I used CGAL::Voronoi_diagram_2since I need the faces. This is the example code:

for         


        
3条回答
  •  眼角桃花
    2021-02-06 18:36

    There is some experimental code here: http://code.google.com/p/cgal-voronoi-cropping that crop a voronoi diagram to a rectangle, the result being a HDS. See main.cpp in the test directory

提交回复
热议问题