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:
CGAL::Voronoi_diagram_2
for
I know it's possible to do it with CGAL, but I found a workaround for now. in Qt, QPolygon class has the function to find intersected polygons. Qpolygon::intersected(yourPolygon). this is the results:
Qpolygon::intersected(yourPolygon)