From a1e320f00e7f65adb9eaa49b7a934add55a2ee0c Mon Sep 17 00:00:00 2001 From: Oleg Alexandrov Date: Thu, 12 Dec 2019 14:21:12 -0800 Subject: [PATCH] Set the precision when saving a mesh --- Surface_mesh/test/Surface_mesh/sm_ply_io.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Surface_mesh/test/Surface_mesh/sm_ply_io.cpp b/Surface_mesh/test/Surface_mesh/sm_ply_io.cpp index c18b6523b74..b42b87410d7 100644 --- a/Surface_mesh/test/Surface_mesh/sm_ply_io.cpp +++ b/Surface_mesh/test/Surface_mesh/sm_ply_io.cpp @@ -39,6 +39,7 @@ int main() CGAL::read_ply (in2, mesh); std::ofstream out ("out.ply"); + out.precision(17); // CGAL::set_binary_mode(out); CGAL::write_ply (out, mesh);