diff --git a/Mesh_2/include/CGAL/IO/write_vtu.h b/Mesh_2/include/CGAL/IO/write_vtu.h index 4af962fba72..9580d434b49 100644 --- a/Mesh_2/include/CGAL/IO/write_vtu.h +++ b/Mesh_2/include/CGAL/IO/write_vtu.h @@ -252,10 +252,10 @@ write_cdt_points_tag(std::ostream& os, // writes the points appended data at the end of the .vtu file template void -write_points(std::ostream& os, - const Tr & tr, - std::map & V) +write_cdt_points(std::ostream& os, + const Tr & tr, + std::map & V) { std::size_t dim = 2; typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator; @@ -319,7 +319,7 @@ void write_vtu(std::ostream& os, << " \n"; if (binary) { os << "\n_"; - write_points(os,tr,V); // write points before cells to fill the std::map V + write_cdt_points(os,tr,V); // write points before cells to fill the std::map V write_cells_2(os,tr, number_of_triangles, V); } os << "\n"; diff --git a/Mesh_3/include/CGAL/IO/output_to_vtu.h b/Mesh_3/include/CGAL/IO/output_to_vtu.h index 369a0d45a47..c5d621462c4 100644 --- a/Mesh_3/include/CGAL/IO/output_to_vtu.h +++ b/Mesh_3/include/CGAL/IO/output_to_vtu.h @@ -196,10 +196,10 @@ write_c3t3_points_tag(std::ostream& os, // writes the points appended data at the end of the .vtu file template void -write_points(std::ostream& os, - const Tr & tr, - std::map & V) +write_c3t3_points(std::ostream& os, + const Tr & tr, + std::map & V) { std::size_t dim = 3; typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator; @@ -299,7 +299,7 @@ void output_to_vtu(std::ostream& os, << " \n"; if (binary) { os << "\n_"; - write_points(os,tr,V); // write points before cells to fill the std::map V + write_c3t3_points(os,tr,V); // write points before cells to fill the std::map V write_cells(os,c3t3,V, mids);//todo mids should be filled by write_attribute_tag write_attributes(os,mids); }