CGAL 5.5.2 - 2D Triangulations
Draw a Triangulation 2

#include <CGAL/draw_triangulation_2.h>

Functions

template<class T2 >
void CGAL::draw (const T2 &at2)
 opens a new window and draws at2, a model of the TriangulationDataStructure_2 concept. More...
 

Function Documentation

◆ draw()

template<class T2 >
void CGAL::draw ( const T2 &  at2)

#include <CGAL/draw_triangulation_2.h>

opens a new window and draws at2, a model of the TriangulationDataStructure_2 concept.

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 macro CGAL_USE_BASIC_VIEWER is defined. Linking with the cmake target CGAL::CGAL_Basic_viewer will link with CGAL_Qt5 and add the definition CGAL_USE_BASIC_VIEWER.

Template Parameters
T2a model of the TriangulationDataStructure_2 concept.
Parameters
at2the triangulation to draw.