\( \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.2 - 3D Polyhedral Surface

Draw.

#include <CGAL/draw_polyhedron.h>

Functions

template<class POLY >
void CGAL::draw (const POLY &apoly)
 Open a new window and draw apoly, an instance of the CGAL::Polyhedron_3 class. More...
 

Function Documentation

◆ draw()

template<class POLY >
void CGAL::draw ( const POLY &  apoly)

#include <CGAL/draw_polyhedron.h>

Open a new window and draw apoly, an instance of the CGAL::Polyhedron_3 class.

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
POLYan instance of the CGAL::Polyhedron_3 class.
Parameters
apolythe polyhedron to draw.
Examples:
Polyhedron/draw_polyhedron.cpp.