Hide debug messages behind macros

This commit is contained in:
Mael Rouxel-Labbé 2023-01-23 12:04:18 +01:00
parent 23900fb1ce
commit 041df2f7e8
1 changed files with 3 additions and 1 deletions

View File

@ -91,9 +91,11 @@ void output_to_medit(std::ostream& os,
const Cell_index_property_map& cell_pmap, const Cell_index_property_map& cell_pmap,
const Facet_index_property_map_twice& facet_twice_pmap = Facet_index_property_map_twice()) const Facet_index_property_map_twice& facet_twice_pmap = Facet_index_property_map_twice())
{ {
#ifdef CGAL_MESH_3_IO_VERBOSE
std::cout << "Output to medit;\n" std::cout << "Output to medit;\n"
<< "\toccurrences = " << occurrence_count << "\n" << "\toccurrences = " << occurrence_count << "\n"
<< "\tdistinguish_copies = " << distinguish_copies << std::endl; << "\tdistinguish_copies = " << distinguish_copies << std::endl;
#endif
// if occurrence_count equals: // if occurrence_count equals:
// "1" --> only draws a single instance of the domain. // "1" --> only draws a single instance of the domain.
@ -137,7 +139,7 @@ void output_to_medit(std::ostream& os,
int occ_mult = Ox_rn * Oy_rn * Oz_rn; int occ_mult = Ox_rn * Oy_rn * Oz_rn;
#ifdef CGAL_PERIODIC_3_MESH_3_VERBOSE #ifdef CGAL_MESH_3_IO_VERBOSE
std::cout << "Outputting mesh to medit... " << std::endl; std::cout << "Outputting mesh to medit... " << std::endl;
std::cout << "occurrences over each axis: " std::cout << "occurrences over each axis: "
<< Ox_rn << " " << Oy_rn << " " << Oz_rn << std::endl; << Ox_rn << " " << Oy_rn << " " << Oz_rn << std::endl;