CGAL 5.6.1  2D Triangulations

Functions  
template<class T2 >  
void  CGAL::draw (const T2 &at2) 
opens a new window and draws a triangulation. More...  
template<class CT2 , class InDomainPMap >  
void  CGAL::draw (const CT2 &act2, InDomainPMap ipm) 
opens a new window and draws a constrained triangulation. More...  
void CGAL::draw  (  const T2 &  at2  ) 
#include <CGAL/draw_triangulation_2.h>
opens a new window and draws a triangulation.
If the triangulation has constraints they are drawn. If the face type has a member function bool is_in_domain()
the faces inside and outside of the domain are drawn in different colors.
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
.
T2  a triangulation class derived from Triangulation_2 or Constrained_triangulation_2 
at2  the triangulation to draw. 
void CGAL::draw  (  const CT2 &  act2, 
InDomainPMap  ipm  
) 
#include <CGAL/draw_triangulation_2.h>
opens a new window and draws a constrained triangulation.
If the triangulation has constraints they are drawn. The faces inside and outside of the domain, based on the property map, are drawn in different colors.
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
.
CT2  a triangulation class derived from Constrained_triangulation_2 
InDomainPMap  a class model of ReadWritePropertyMap with CT::Face_handle as key type and bool as value type. 
act2  the constrained triangulation to draw. 
ipm  the property map defining the faces which are in the domain. 