mirror of https://github.com/CGAL/cgal
Set the precision when saving a mesh
This commit is contained in:
parent
7412a02b3e
commit
a1e320f00e
|
|
@ -39,6 +39,7 @@ int main()
|
||||||
CGAL::read_ply (in2, mesh);
|
CGAL::read_ply (in2, mesh);
|
||||||
|
|
||||||
std::ofstream out ("out.ply");
|
std::ofstream out ("out.ply");
|
||||||
|
out.precision(17);
|
||||||
// CGAL::set_binary_mode(out);
|
// CGAL::set_binary_mode(out);
|
||||||
CGAL::write_ply (out, mesh);
|
CGAL::write_ply (out, mesh);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue