From c1f034312d9abd521d97b5f49a234536a1ec668f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Mon, 12 May 2025 14:31:43 +0200 Subject: [PATCH] hide non-const version of the function in the doc --- SMDS_3/include/CGAL/Mesh_complex_3_in_triangulation_3.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/SMDS_3/include/CGAL/Mesh_complex_3_in_triangulation_3.h b/SMDS_3/include/CGAL/Mesh_complex_3_in_triangulation_3.h index 5e038512f93..2fcb7591d61 100644 --- a/SMDS_3/include/CGAL/Mesh_complex_3_in_triangulation_3.h +++ b/SMDS_3/include/CGAL/Mesh_complex_3_in_triangulation_3.h @@ -328,12 +328,18 @@ public: const Triangulation& triangulation() const { return tr_; } /// @} +#ifndef DOXYGEN_RUNNING /// \name Non const access /// @{ /// returns a reference to the triangulation + /// \cgalAdvancedBegin + /// This function should only be used by advanced users: it merely swaps the triangulation without + /// rebuilding critical C3T3 information such as the number of simplexes in complex. + /// On the other hand, this is performed by `set_triangulation()` + /// \cgalAdvancedEnd Triangulation& triangulation() { return tr_; } /// @} - +#endif /// \name Modifiers /// @{