#include <CGAL/draw_arrangement_2.h>
|
template<typename GeometryTraits_2 , typename Dcel > |
void | CGAL::draw (const Arrangement_2< GeometryTraits_2, Dcel > &arr, const char *title="2D Arrangement Basic Viewer") |
| opens a new window and draws arr , an instance of the CGAL::Arrangement_2 class template.
|
|
◆ draw()
template<typename GeometryTraits_2 , typename Dcel >
void CGAL::draw |
( |
const Arrangement_2< GeometryTraits_2, Dcel > & |
arr, |
|
|
const char * |
title = "2D Arrangement Basic Viewer" |
|
) |
| |
#include <CGAL/draw_arrangement_2.h>
opens a new window and draws arr
, an instance of the CGAL::Arrangement_2
class template.
A call to this function is blocking; that is, the program continues only after 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
-
- Parameters
-
arr | the 2D arrangement to draw. |
title | the window title. |
- See also
ArrangementDcel
-
ArrangementTraits_2