
template<typename PolygonMesh , typename FaceOutputIterator , typename NamedParameters > 
FaceOutputIterator  CGAL::Polygon_mesh_processing::connected_component (typename boost::graph_traits< PolygonMesh >::face_descriptor seed_face, const PolygonMesh &pmesh, FaceOutputIterator out, const NamedParameters &np) 
 discovers all the faces in the same connected component as seed_face and records them in out . More...


template<typename PolygonMesh , typename FaceComponentMap , typename NamedParameters > 
boost::property_traits< FaceComponentMap >::value_type  CGAL::Polygon_mesh_processing::connected_components (const PolygonMesh &pmesh, FaceComponentMap fcm, const NamedParameters &np) 
 computes for each face the index of the corresponding connected component. More...


template<typename PolygonMesh , typename NamedParameters > 
std::size_t  CGAL::Polygon_mesh_processing::keep_largest_connected_components (PolygonMesh &pmesh, std::size_t nb_components_to_keep, const NamedParameters &np) 
 removes the small connected components and all isolated vertices. More...


template<typename PolygonMesh , typename ThresholdValueType , typename NamedParameters > 
std::size_t  CGAL::Polygon_mesh_processing::keep_large_connected_components (PolygonMesh &pmesh, const ThresholdValueType threshold_value, const NamedParameters &np) 
 removes connected components whose size is (strictly) smaller than a given threshold value, where the size of a connected component is computed as the sum of the individual sizes of all the faces of the connected component. More...


template<typename PolygonMesh , typename ComponentRange , typename FaceComponentMap , typename NamedParameters > 
void  CGAL::Polygon_mesh_processing::keep_connected_components (PolygonMesh &pmesh, const ComponentRange &components_to_keep, const FaceComponentMap &fcm, const NamedParameters &np) 
 keeps the connected components designated by theirs ids in components_to_keep , and removes the other connected components as well as all isolated vertices. More...


template<typename PolygonMesh , typename ComponentRange , typename FaceComponentMap , typename NamedParameters > 
void  CGAL::Polygon_mesh_processing::remove_connected_components (PolygonMesh &pmesh, const ComponentRange &components_to_remove, const FaceComponentMap &fcm, const NamedParameters &np) 
 removes in pmesh the connected components designated by theirs ids in components_to_remove as well as all isolated vertices. More...


template<typename PolygonMesh , typename FaceRange , typename NamedParameters > 
void  CGAL::Polygon_mesh_processing::remove_connected_components (PolygonMesh &pmesh, const FaceRange &components_to_remove, const NamedParameters &np) 
 keeps the connected components not designated by the faces in components_to_remove , and removes the other connected components and all isolated vertices. More...


template<typename PolygonMesh , typename FaceRange , typename NamedParameters > 
void  CGAL::Polygon_mesh_processing::keep_connected_components (PolygonMesh &pmesh, const FaceRange &components_to_keep, const NamedParameters &np) 
 keeps the connected components designated by the faces in components_to_keep , and removes the other connected components and all isolated vertices. More...


template<class PolygonMesh , class PolygonMeshRange , class NamedParameters > 
void  CGAL::Polygon_mesh_processing::split_connected_components (const PolygonMesh &pmesh, PolygonMeshRange &cc_meshes, const NamedParameters &np) 
 identifies the connected components of pmesh and pushes back a new PolygonMesh for each connected component in cc_meshes . More...

