mirror of https://github.com/CGAL/cgal
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:
parent
dbd569d51c
commit
8f658695f8
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue