\( \newcommand{\E}{\mathrm{E}} \) \( \newcommand{\A}{\mathrm{A}} \) \( \newcommand{\R}{\mathrm{R}} \) \( \newcommand{\N}{\mathrm{N}} \) \( \newcommand{\Q}{\mathrm{Q}} \) \( \newcommand{\Z}{\mathrm{Z}} \) \( \def\ccSum #1#2#3{ \sum_{#1}^{#2}{#3} } \def\ccProd #1#2#3{ \sum_{#1}^{#2}{#3} }\)
CGAL 4.13 - 2D Triangulation
Draw a Triangulation 2

Draw.

#include <CGAL/draw_triangulation_2.h>

Functions

template<class T2 >
void CGAL::draw (const T2 &at2)
 Open a new window and draw 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>

Open a new window and draw at2, a model of the TriangulationDataStructure_2 concept.

The 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
T2a model of the TriangulationDataStructure_2 concept.
Parameters
at2the triangulation to draw.