Subject: CGAL users discussion list
List archive
[cgal-discuss] Empty lines with output stream operator overloading for 3D triangulations
Chronological Thread
- From: cdoucet <>
- To:
- Subject: [cgal-discuss] Empty lines with output stream operator overloading for 3D triangulations
- Date: Tue, 29 Jul 2014 03:52:40 -0700 (PDT)
Hello,
I used 3D Delaunay triangulations with the following definitions:
------------------------------------------
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
typedef CGAL::Triangulation_vertex_base_with_info_3<int, K> Vb;
typedef CGAL::Triangulation_cell_base_with_info_3<CellInfo, K> Cb;
typedef CGAL::Triangulation_data_structure_3<Vb,Cb> Tds;
typedef CGAL::Delaunay_triangulation_3<K, Tds>
Delaunay;
------------------------------------------
In my code, I generate such a triangulation T and try to write it in a file
:
------------------------------------------
std::ofstream ofs;
ofs.open(file,std::ios::out);
CGAL::set_ascii_mode(ofs);
ofs << T;
------------------------------------------
where file if of type (char*).
When I open the resulting file, data seem to be written correctly but they
are followed by several empty lines (about 60,000).
Is this normal?
Thank you for your help!
Cédric Doucet
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Empty-lines-with-output-stream-operator-overloading-for-3D-triangulations-tp4659644.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Empty lines with output stream operator overloading for 3D triangulations, cdoucet, 07/29/2014
- Re: [cgal-discuss] Empty lines with output stream operator overloading for 3D triangulations, Cedric Doucet, 07/29/2014
Archive powered by MHonArc 2.6.18.