\( \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 5.0 - 2D Polygons
Draw a 2D Polygon with Holes

#include <CGAL/draw_polygon_with_holes_2.h>

Functions

template<class PH >
void CGAL::draw (const PH &aph)
 opens a new window and draws aph, an instance of the CGAL::Polygon_with_holes_2 class. More...
 

Function Documentation

◆ draw()

template<class PH >
void CGAL::draw ( const PH &  aph)

#include <CGAL/draw_polygon_with_holes_2.h>

opens a new window and draws aph, an instance of the CGAL::Polygon_with_holes_2 class.

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 flag CGAL_USE_BASIC_VIEWER is defined at compile time.

Template Parameters
PHan instance of the CGAL::Polygon_with_holes_2 class.
Parameters
aphthe polygon with holes to draw.