Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] persisting exact arrangements

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] persisting exact arrangements


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] persisting exact arrangements
  • Date: Fri, 17 Jul 2009 21:39:04 +0300

If I understand the question, then it boild down to how ro export and import numbers represented with the number type you are using, and that, of course, depends on the number type. Gmpq supports exposrting to and importing from an io-stream.

Quoting "Ben Supnik"
<>:

Hi Y'all,

Does anyone have any advice on how to safely persist arrangements? My arrangement is based on an exact number type and the combination of a rather ugly pile of curves...it is very possible that some of the intersections required to form the topologically correct map cannot be represented with raw 64-bit floats.

How can I write an arrangement out to disk such that I can both read it back without redoing the intersection calculations and be sure that it is topologically correct?

thanks
Ben


--
Scenery Home Page: http://scenery.x-plane.com/
Scenery blog: http://xplanescenery.blogspot.com/
Plugin SDK: http://www.xsquawkbox.net/xpsdk/
X-Plane Wiki: http://wiki.x-plane.com/
Scenery mailing list:

Developer mailing list:

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss






Archive powered by MHonArc 2.6.16.

Top of Page