mirror of https://github.com/CGAL/cgal
add precondition about single CC mesh
This commit is contained in:
parent
509e794235
commit
dc31a8ce3a
|
|
@ -1390,6 +1390,9 @@ acvd_impl(TriangleMesh& tmesh,
|
||||||
*
|
*
|
||||||
* \cgalNamedParamsEnd
|
* \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
|
* @return `true` if `nb_vertices` was sufficiently large for remeshing the input, and `false` if more points were used
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ namespace CGAL{
|
||||||
/// and the set of input vertices that contracted to `vd` can be retrieved
|
/// and the set of input vertices that contracted to `vd` can be retrieved
|
||||||
/// using `skeleton[vd].point` and `skeleton[vd].vertices` respectively.
|
/// 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>
|
template <class TriangleMesh>
|
||||||
void extract_mean_curvature_flow_skeleton(const TriangleMesh& tmesh,
|
void extract_mean_curvature_flow_skeleton(const TriangleMesh& tmesh,
|
||||||
typename Mean_curvature_flow_skeletonization<TriangleMesh>::Skeleton& skeleton)
|
typename Mean_curvature_flow_skeletonization<TriangleMesh>::Skeleton& skeleton)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue