mirror of https://github.com/CGAL/cgal
Rename two write_points functions as well
This commit is contained in:
parent
8f658695f8
commit
c7b95e25c5
|
|
@ -252,10 +252,10 @@ write_cdt_points_tag(std::ostream& os,
|
||||||
// writes the points appended data at the end of the .vtu file
|
// writes the points appended data at the end of the .vtu file
|
||||||
template <class Tr>
|
template <class Tr>
|
||||||
void
|
void
|
||||||
write_points(std::ostream& os,
|
write_cdt_points(std::ostream& os,
|
||||||
const Tr & tr,
|
const Tr & tr,
|
||||||
std::map<typename Tr::Vertex_handle,
|
std::map<typename Tr::Vertex_handle,
|
||||||
std::size_t> & V)
|
std::size_t> & V)
|
||||||
{
|
{
|
||||||
std::size_t dim = 2;
|
std::size_t dim = 2;
|
||||||
typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator;
|
typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator;
|
||||||
|
|
@ -319,7 +319,7 @@ void write_vtu(std::ostream& os,
|
||||||
<< " </UnstructuredGrid>\n";
|
<< " </UnstructuredGrid>\n";
|
||||||
if (binary) {
|
if (binary) {
|
||||||
os << "<AppendedData encoding=\"raw\">\n_";
|
os << "<AppendedData encoding=\"raw\">\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);
|
write_cells_2(os,tr, number_of_triangles, V);
|
||||||
}
|
}
|
||||||
os << "</VTKFile>\n";
|
os << "</VTKFile>\n";
|
||||||
|
|
|
||||||
|
|
@ -196,10 +196,10 @@ write_c3t3_points_tag(std::ostream& os,
|
||||||
// writes the points appended data at the end of the .vtu file
|
// writes the points appended data at the end of the .vtu file
|
||||||
template <class Tr>
|
template <class Tr>
|
||||||
void
|
void
|
||||||
write_points(std::ostream& os,
|
write_c3t3_points(std::ostream& os,
|
||||||
const Tr & tr,
|
const Tr & tr,
|
||||||
std::map<typename Tr::Vertex_handle,
|
std::map<typename Tr::Vertex_handle,
|
||||||
std::size_t> & V)
|
std::size_t> & V)
|
||||||
{
|
{
|
||||||
std::size_t dim = 3;
|
std::size_t dim = 3;
|
||||||
typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator;
|
typedef typename Tr::Finite_vertices_iterator Finite_vertices_iterator;
|
||||||
|
|
@ -299,7 +299,7 @@ void output_to_vtu(std::ostream& os,
|
||||||
<< " </UnstructuredGrid>\n";
|
<< " </UnstructuredGrid>\n";
|
||||||
if (binary) {
|
if (binary) {
|
||||||
os << "<AppendedData encoding=\"raw\">\n_";
|
os << "<AppendedData encoding=\"raw\">\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_cells(os,c3t3,V, mids);//todo mids should be filled by write_attribute_tag
|
||||||
write_attributes(os,mids);
|
write_attributes(os,mids);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue