mirror of https://github.com/CGAL/cgal
Merge pull request #7139 from janetournois/SMDS_3-verbose_mode-jtournois
Tet_soup_to_c3t3 - reduce verbosity
This commit is contained in:
commit
7255c885bd
|
|
@ -419,6 +419,7 @@ bool build_triangulation_impl(Tr& tr,
|
||||||
|
|
||||||
if(finite_cells.empty())
|
if(finite_cells.empty())
|
||||||
{
|
{
|
||||||
|
if (verbose)
|
||||||
std::cout << "WARNING: No finite cells were provided. Only the points will be loaded."<<std::endl;
|
std::cout << "WARNING: No finite cells were provided. Only the points will be loaded."<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -438,14 +439,14 @@ bool build_triangulation_impl(Tr& tr,
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
std::cout << "build finite cells done" << std::endl;
|
if (verbose) std::cout << "build finite cells done" << std::endl;
|
||||||
if (!CGAL::SMDS_3::build_infinite_cells<Tr>(tr, incident_cells_map, verbose, allow_non_manifold))
|
if (!CGAL::SMDS_3::build_infinite_cells<Tr>(tr, incident_cells_map, verbose, allow_non_manifold))
|
||||||
{
|
{
|
||||||
if(verbose) std::cout << "build_infinite_cells went wrong" << std::endl;
|
if(verbose) std::cout << "build_infinite_cells went wrong" << std::endl;
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
std::cout << "build infinite cells done" << std::endl;
|
if (verbose) std::cout << "build infinite cells done" << std::endl;
|
||||||
tr.tds().set_dimension(3);
|
tr.tds().set_dimension(3);
|
||||||
if (!CGAL::SMDS_3::assign_neighbors<Tr>(tr, incident_cells_map, allow_non_manifold))
|
if (!CGAL::SMDS_3::assign_neighbors<Tr>(tr, incident_cells_map, allow_non_manifold))
|
||||||
{
|
{
|
||||||
|
|
@ -453,7 +454,7 @@ bool build_triangulation_impl(Tr& tr,
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
std::cout << "assign neighbors done" << std::endl;
|
if (verbose) std::cout << "assign neighbors done" << std::endl;
|
||||||
if (verbose)
|
if (verbose)
|
||||||
{
|
{
|
||||||
std::cout << "built triangulation : " << std::endl;
|
std::cout << "built triangulation : " << std::endl;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue