Rename internal methods to avoid a namespace class

There was two methods named `CGAL::write_points_tag`. I renamed then
to:
  - `write_c3t3_points_tag`, and
  - `write_cdt_points_tag`.
This commit is contained in:
Laurent Rineau 2019-01-21 16:17:28 +01:00
parent dbd569d51c
commit 8f658695f8
2 changed files with 12 additions and 12 deletions

View File

@ -206,7 +206,7 @@ write_cells_2(std::ostream& os,
// writes the points tags before binary data is appended // writes the points tags before binary data is appended
template <class Tr> template <class Tr>
void void
write_points_tag(std::ostream& os, write_cdt_points_tag(std::ostream& os,
const Tr & tr, const Tr & tr,
std::map<typename Tr::Vertex_handle, std::size_t> & V, std::map<typename Tr::Vertex_handle, std::size_t> & V,
bool binary, bool binary,
@ -313,7 +313,7 @@ void write_vtu(std::ostream& os,
<< "\" NumberOfCells=\"" << number_of_triangles + std::distance(tr.constrained_edges_begin(), tr.constrained_edges_end()) << "\">\n"; << "\" NumberOfCells=\"" << number_of_triangles + std::distance(tr.constrained_edges_begin(), tr.constrained_edges_end()) << "\">\n";
std::size_t offset = 0; std::size_t offset = 0;
const bool binary = (mode == IO::BINARY); const bool binary = (mode == IO::BINARY);
write_points_tag(os,tr,V,binary,offset); write_cdt_points_tag(os,tr,V,binary,offset);
write_cells_tag_2(os,tr,number_of_triangles, V,binary,offset); write_cells_tag_2(os,tr,number_of_triangles, V,binary,offset);
os << " </Piece>\n" os << " </Piece>\n"
<< " </UnstructuredGrid>\n"; << " </UnstructuredGrid>\n";

View File

@ -150,7 +150,7 @@ write_cells(std::ostream& os,
template <class Tr> template <class Tr>
void void
write_points_tag(std::ostream& os, write_c3t3_points_tag(std::ostream& os,
const Tr & tr, const Tr & tr,
std::map<typename Tr::Vertex_handle, std::size_t> & V, std::map<typename Tr::Vertex_handle, std::size_t> & V,
bool binary, bool binary,
@ -288,7 +288,7 @@ void output_to_vtu(std::ostream& os,
<< "\" NumberOfCells=\"" << c3t3.number_of_cells() << "\">\n"; << "\" NumberOfCells=\"" << c3t3.number_of_cells() << "\">\n";
std::size_t offset = 0; std::size_t offset = 0;
const bool binary = (mode == IO::BINARY); const bool binary = (mode == IO::BINARY);
write_points_tag(os,tr,V,binary,offset); write_c3t3_points_tag(os,tr,V,binary,offset);
write_cells_tag(os,c3t3,V,binary,offset); write_cells_tag(os,c3t3,V,binary,offset);
std::vector<float> mids; std::vector<float> mids;
os << " <CellData Domain=\"MeshDomain"; os << " <CellData Domain=\"MeshDomain";