CGAL 5.4.1 - 2D Periodic Triangulations
Draw a 2D Periodic Triangulation

Draw.

#include <CGAL/draw_periodic_2_triangulation_2.h>

Functions

template<class P2T2 >
void CGAL::draw (const P2T2 &ap2t2)
 opens a new window and draws ap2t2, the Periodic_2_Triangulation_2. More...
 

Function Documentation

◆ draw()

template<class P2T2 >
void CGAL::draw ( const P2T2 &  ap2t2)

#include <CGAL/draw_periodic_2_triangulation_2.h>

opens a new window and draws ap2t2, the Periodic_2_Triangulation_2.

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
P2T2a model of the Periodic_2TriangulationTraits_2 concept.
Parameters
ap2t2the 2D periodic trinagulation to draw.