Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 3D Mesh: Medit files become critically large...

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 3D Mesh: Medit files become critically large...


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] 3D Mesh: Medit files become critically large...
  • Date: Thu, 24 Aug 2017 12:45:15 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:q8wq0h29VVyE2eZ8smDT+DRfVm0co7zxezQtwd8ZsesfKvad9pjvdHbS+e9qxAeQG96Eu7QZ06L/iOPJZy8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tLw6annrn5jEbHlDzNBF+O//uMo/UlcW+ke6oqLPJZAAdzh60fKl/Kgn+lwTXu8ALyctJBY8VjTTEpX5FZ/5H62pjOVWJjle2rpO09YN5/iJM/egg8cNJTI3xcK08C7tCA2J1YCgO+MT3uEybHkO07XwGXzBOnw==
  • Organization: GeometryFactory

Le Thursday, August 24, 2017 11:41:17 AM CEST Michael Bieri a écrit :
> Thanks Laurent for your answer.
>
> Writing the file seems to work, but first of all, the file is even larger
> than the ASCII medit format. Second, I have no idea about the file format.
> As far as I see it just writes the internal binary representation into a
> file? I guess that's not easy to process with a program outside of the CGAL
> world?

Indeed, those functions are supposed to work in pair: the function to save
and the function to load. The format ensures that (almost) all the
information is saved and restored (but the information on edges of 1D-
curves).

I am not sure to know why the resulting file are larger than the export in
ASCII. Probably because the export in ASCII looses a lot of information
(especially if you have not set the precision of ASCII representation of
doubles to 17), where the binary I/O functions save and load almost
everything.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page