#include <CGAL/draw_voronoi_diagram_2.h>
◆ draw()
template<class V2 >
void CGAL::draw |
( |
const V2 & |
av2 | ) |
|
#include <CGAL/draw_voronoi_diagram_2.h>
opens a new window and draws av2
, the Voronoi_diagram_2
constructed from a Delaunay Graph which is a model of DelaunayGraph_2
concept.
The class Voronoi_diagram_2
provides an adaptor to view a triangulated Delaunay graph as their dual subdivision, the Voronoi diagram. A call to this function is blocking, that is the program continues as soon as the user closes the window. This function requires CGAL_Qt5, and is only available if the flag CGAL_USE_BASIC_VIEWER is defined at compile time.
- Template Parameters
-
- Parameters
-
av2 | the voronoi diagram to draw. |