add precondition about single CC mesh

This commit is contained in:
Sébastien Loriot 2025-06-23 11:36:13 +02:00
parent 509e794235
commit dc31a8ce3a
2 changed files with 4 additions and 0 deletions

View File

@ -1390,6 +1390,9 @@ acvd_impl(TriangleMesh& tmesh,
*
* \cgalNamedParamsEnd
*
*
* @pre tmesh is a triangulated surface mesh and has exactly one connected component.
*
* @return `true` if `nb_vertices` was sufficiently large for remeshing the input, and `false` if more points were used
*
*/

View File

@ -43,6 +43,7 @@ namespace CGAL{
/// and the set of input vertices that contracted to `vd` can be retrieved
/// using `skeleton[vd].point` and `skeleton[vd].vertices` respectively.
///
/// @pre `tmesh` is a triangulated surface mesh without borders and has exactly one connected component.
template <class TriangleMesh>
void extract_mean_curvature_flow_skeleton(const TriangleMesh& tmesh,
typename Mean_curvature_flow_skeletonization<TriangleMesh>::Skeleton& skeleton)