Merge pull request #7030 from afabri/PMP-reparation-GF

This commit is contained in:
Laurent Rineau 2022-11-09 15:49:14 +01:00 committed by GitHub
commit 1cb6d4cb06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ of the graph concepts defined in the package \ref PkgBGLRef. Using common graph
enables having common input/output functions for all the models of these concepts. enables having common input/output functions for all the models of these concepts.
The page \ref PkgBGLIOFct provides an exhaustive description of the available I/O functions. The page \ref PkgBGLIOFct provides an exhaustive description of the available I/O functions.
In addition, this package offers the function `CGAL::Polygon_mesh_processing::IO::read_polygon_mesh()`, In addition, this package offers the function `CGAL::Polygon_mesh_processing::IO::read_polygon_mesh()`,
which can perform some reparation if the input data do not represent a manifold surface. which can perform some repairing if the input data do not represent a manifold surface.
**************************************** ****************************************
\section PMPMeshing Meshing \section PMPMeshing Meshing

View File

@ -84,9 +84,9 @@ int main(int, char**)
polygons.push_back({0,1,2,3,4,3,2,1}); polygons.push_back({0,1,2,3,4,3,2,1});
#endif #endif
std::cout << "Before reparation, the soup has " << points.size() << " vertices and " << polygons.size() << " faces" << std::endl; std::cout << "Before repairing, the soup has " << points.size() << " vertices and " << polygons.size() << " faces" << std::endl;
PMP::repair_polygon_soup(points, polygons, CGAL::parameters::geom_traits(Array_traits())); PMP::repair_polygon_soup(points, polygons, CGAL::parameters::geom_traits(Array_traits()));
std::cout << "After reparation, the soup has " << points.size() << " vertices and " << polygons.size() << " faces" << std::endl; std::cout << "After repairing, the soup has " << points.size() << " vertices and " << polygons.size() << " faces" << std::endl;
Mesh mesh; Mesh mesh;
PMP::orient_polygon_soup(points, polygons); PMP::orient_polygon_soup(points, polygons);