CGAL 6.1 - 3D Constrained Triangulations
Loading...
Searching...
No Matches
Draw a 3D Constrained Triangulation

Functions

template<typename Traits , typename Tr >
void CGAL::draw (const Conforming_constrained_Delaunay_triangulation_3< Traits, Tr > &ccdt, const char *title="3D Constrained Triangulation")
 opens a new CGAL::Qt::Basic_viewer window and draws the constrained triangulation.
 
template<typename Traits , typename Tr , typename GSOptions >
void CGAL::draw (const Conforming_constrained_Delaunay_triangulation_3< Traits, Tr > &ccdt, const GSOptions &gs_options, const char *title="3D Constrained Triangulation")
 A shortcut to CGAL::draw(ccdt.triangulation(), gs_options, title) .
 

Function Documentation

◆ draw()

template<typename Traits , typename Tr >
void CGAL::draw ( const Conforming_constrained_Delaunay_triangulation_3< Traits, Tr > &  ccdt,
const char *  title = "3D Constrained Triangulation" 
)

#include <CGAL/draw_constrained_triangulation_3.h>

opens a new CGAL::Qt::Basic_viewer window and draws the constrained triangulation.

A call to this function blocks the execution of the program until the drawing window is closed. This function requires CGAL_Qt6, 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_Qt6 and add the definition CGAL_USE_BASIC_VIEWER.