hide non-const version of the function in the doc

This commit is contained in:
Sébastien Loriot 2025-05-12 14:31:43 +02:00
parent c6197a96bc
commit c1f034312d
1 changed files with 7 additions and 1 deletions

View File

@ -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
/// @{