mirror of https://github.com/CGAL/cgal
insert \n in the stream instead of \endl
This commit is contained in:
parent
e9fc33d6a1
commit
0e26773f5d
|
|
@ -796,11 +796,11 @@ output_to_medit(std::ostream& os,
|
||||||
{
|
{
|
||||||
V[vit] = inum++;
|
V[vit] = inum++;
|
||||||
Point_3 p = vit->point();
|
Point_3 p = vit->point();
|
||||||
os << CGAL::to_double(p.x()) << " "
|
os << CGAL::to_double(p.x()) << ' '
|
||||||
<< CGAL::to_double(p.y()) << " "
|
<< CGAL::to_double(p.y()) << ' '
|
||||||
<< CGAL::to_double(p.z()) << " "
|
<< CGAL::to_double(p.z()) << ' '
|
||||||
<< get(vertex_pmap, vit)
|
<< get(vertex_pmap, vit)
|
||||||
<< std::endl;
|
<< '\n';
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
|
|
@ -823,10 +823,10 @@ output_to_medit(std::ostream& os,
|
||||||
if (i != fit->second)
|
if (i != fit->second)
|
||||||
{
|
{
|
||||||
const Vertex_handle& vh = (*fit).first->vertex(i);
|
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
|
// Print triangle again if needed
|
||||||
if ( print_each_facet_twice )
|
if ( print_each_facet_twice )
|
||||||
|
|
@ -836,10 +836,10 @@ output_to_medit(std::ostream& os,
|
||||||
if (i != fit->second)
|
if (i != fit->second)
|
||||||
{
|
{
|
||||||
const Vertex_handle& vh = (*fit).first->vertex(i);
|
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 )
|
++cit )
|
||||||
{
|
{
|
||||||
for (int i=0; i<4; i++)
|
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';
|
||||||
}
|
}
|
||||||
|
|
||||||
//-------------------------------------------------------
|
//-------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue