CGAL 5.6.3 - Surface Mesh

Loading...
Searching...
No Matches
Functions
Draw a Surface Mesh
Surface Mesh Reference

##

#include <CGAL/draw_surface_mesh.h>

## Functions
template<class SM >
void | draw (const SM &asm)
| Open a new window and draw `asm`, an instance of the `CGAL::Surface_mesh` class.

## Function Documentation

## ◆ draw()

template<class SM >

void draw | ( | const SM & | asm | ) |

`#include <CGAL/draw_surface_mesh.h>`

Open a new window and draw `asm`, an instance of the `CGAL::Surface_mesh` 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 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

  SM | an instance of the `CGAL::Surface_mesh` class.

Parameters

  asm | the surface mesh to draw.