CGAL 5.6 - 3D Point Set
Loading...
Searching...
No Matches
Draw a 3D Point Set

#include <CGAL/draw_point_set_3.h>

Functions

template<class PS >
void CGAL::draw (const PS &aps)
 opens a new window and draws aps, an instance of the CGAL::Point_set_3 class.
 

Function Documentation

◆ draw()

template<class PS >
void CGAL::draw ( const PS &  aps)

#include <CGAL/draw_point_set_3.h>

opens a new window and draws aps, an instance of the CGAL::Point_set_3 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 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
PSan instance of the CGAL::Point_set_3 class.
Parameters
apsthe point set to draw.
Examples
Point_set_3/draw_point_set_3.cpp.