From ea39f5def65c1ced1b5c29e0d74c7d51becad9ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Thu, 5 May 2022 14:46:51 +0200 Subject: [PATCH] mention the visitor in the user manual --- .../doc/Polygon_mesh_processing/Polygon_mesh_processing.txt | 4 ++++ .../doc/Polygon_mesh_processing/examples.txt | 1 + 2 files changed, 5 insertions(+) diff --git a/Polygon_mesh_processing/doc/Polygon_mesh_processing/Polygon_mesh_processing.txt b/Polygon_mesh_processing/doc/Polygon_mesh_processing/Polygon_mesh_processing.txt index 90c62b0fd66..e7a9284b5bf 100644 --- a/Polygon_mesh_processing/doc/Polygon_mesh_processing/Polygon_mesh_processing.txt +++ b/Polygon_mesh_processing/doc/Polygon_mesh_processing/Polygon_mesh_processing.txt @@ -457,6 +457,10 @@ class and a few others are part of the code base. Holes in the fork model are filled with triangle patches. \cgalFigureEnd +An additional parameter, named `visitor` can be used to track which phase of the algorithm is being run. +This can allow a user to stop the algorithm if a timeout needs to be implemented. For an example, see +\ref Polygon_mesh_processing/hole_filling_visitor_example.cpp . + \subsection HFPerformance Performance The hole filling algorithm has a complexity which depends on the diff --git a/Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt b/Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt index 1b053016791..724fb547898 100644 --- a/Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt +++ b/Polygon_mesh_processing/doc/Polygon_mesh_processing/examples.txt @@ -7,6 +7,7 @@ \example Polygon_mesh_processing/self_intersections_example.cpp \example Polygon_mesh_processing/hole_filling_example.cpp \example Polygon_mesh_processing/hole_filling_example_SM.cpp +\example Polygon_mesh_processing/hole_filling_visitor_example.cpp \example Polygon_mesh_processing/stitch_borders_example.cpp \example Polygon_mesh_processing/compute_normals_example.cpp \example Polygon_mesh_processing/point_inside_example.cpp