Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: pod types

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: pod types


Chronological Thread 
  • From: Philipp Moeller <>
  • To: croatoan <>
  • Cc:
  • Subject: Re: [cgal-discuss] Re: pod types
  • Date: Sun, 25 Nov 2012 13:34:11 +0100
  • Organization: GeometryFactory

croatoan
<>
writes:

> yes you are write... it makes sense to involve only objects from the
> Geometry
> Kernels.. the basic objects.. Points, Lines, Circles, etc
>
> e.g consider implementing a external sort using a cgal Point as a data type.
> Without loosing the benefits that cgal provides for its number types

Unfortunately none of the basic kernels (Simple_*) make any guarantees
about how their objects are laid out. You can probably take a look at
the individual classes and decide if you can serialize what is there
with Cartesian_const_iterator or by accessing the right
coordinates. This will be rather fragile, do it at your own peril.

The whole idea seems difficult for reference counted and impossible for
Lazy kernels.



Archive powered by MHonArc 2.6.18.

Top of Page