insert \n in the stream instead of \endl

This commit is contained in:
Andreas Fabri 2015-10-13 09:15:21 +02:00
parent e9fc33d6a1
commit 0e26773f5d
1 changed files with 10 additions and 10 deletions

View File

@ -796,11 +796,11 @@ output_to_medit(std::ostream& os,
{
V[vit] = inum++;
Point_3 p = vit->point();
os << CGAL::to_double(p.x()) << " "
<< CGAL::to_double(p.y()) << " "
<< CGAL::to_double(p.z()) << " "
os << CGAL::to_double(p.x()) << ' '
<< CGAL::to_double(p.y()) << ' '
<< CGAL::to_double(p.z()) << ' '
<< get(vertex_pmap, vit)
<< std::endl;
<< '\n';
}
//-------------------------------------------------------
@ -823,10 +823,10 @@ output_to_medit(std::ostream& os,
if (i != fit->second)
{
const Vertex_handle& vh = (*fit).first->vertex(i);
os << V[vh] << " ";
os << V[vh] << ' ';
}
}
os << get(facet_pmap, *fit) << std::endl;
os << get(facet_pmap, *fit) << '\n';
// Print triangle again if needed
if ( print_each_facet_twice )
@ -836,10 +836,10 @@ output_to_medit(std::ostream& os,
if (i != fit->second)
{
const Vertex_handle& vh = (*fit).first->vertex(i);
os << V[vh] << " ";
os << V[vh] << ' ';
}
}
os << get(facet_twice_pmap, *fit) << std::endl;
os << get(facet_twice_pmap, *fit) << '\n';
}
}
@ -854,9 +854,9 @@ output_to_medit(std::ostream& os,
++cit )
{
for (int i=0; i<4; i++)
os << V[cit->vertex(i)] << " ";
os << V[cit->vertex(i)] << ' ';
os << get(cell_pmap, cit) << std::endl;
os << get(cell_pmap, cit) << '\n';
}
//-------------------------------------------------------