mirror of https://github.com/CGAL/cgal
add function with no named parameters
This commit is contained in:
parent
7e94f20842
commit
1d09b521d6
|
|
@ -934,9 +934,17 @@ void keep_connected_components(PolygonMesh& pmesh
|
|||
remove_vertex(v, pmesh);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
template <typename PolygonMesh, typename FaceRange>
|
||||
void keep_connected_components(PolygonMesh& pmesh
|
||||
, const FaceRange& components_to_keep)
|
||||
{
|
||||
keep_connected_components(pmesh, components_to_keep,
|
||||
CGAL::Polygon_mesh_processing::parameters::all_default());
|
||||
}
|
||||
|
||||
|
||||
} // namespace Polygon_mesh_processing
|
||||
|
||||
} // namespace CGAL
|
||||
|
|
|
|||
Loading…
Reference in New Issue