Cleanup the example

This commit is contained in:
Ivan Paden 2023-09-12 23:26:34 -06:00
parent 12cc789f33
commit 0481c624e2
1 changed files with 1 additions and 3 deletions

View File

@ -13,10 +13,7 @@ namespace PMP = CGAL::Polygon_mesh_processing;
int main(int argc, char* argv[])
{
// const std::string filename = (argc > 1) ? argv[1] : CGAL::data_file_path("meshes/lion-head.off");
// const std::string filename = (argc > 1) ? argv[1] : CGAL::data_file_path("meshes/hand.off");
const std::string filename = (argc > 1) ? argv[1] : CGAL::data_file_path("meshes/nefertiti.off");
// const std::string filename = (argc > 1) ? argv[1] : CGAL::data_file_path("meshes/cube.off");
Mesh mesh;
if (!PMP::IO::read_polygon_mesh(filename, mesh) || !CGAL::is_triangle_mesh(mesh)) {
@ -37,6 +34,7 @@ int main(int argc, char* argv[])
sizing_field,
mesh,
PMP::parameters::number_of_iterations(nb_iter)
.number_of_relaxation_steps(3)
);
CGAL::IO::write_polygon_mesh("out.off", mesh, CGAL::parameters::stream_precision(17));