Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Adding data to Delaunay_d::Point_d

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Adding data to Delaunay_d::Point_d


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Adding data to Delaunay_d::Point_d
  • Date: Mon, 27 Oct 2014 10:21:08 +0100
  • Organization: GeometryFactory

On 10/27/2014 10:14 AM, Adam Getchell wrote:
Thanks Sebastien,

Since I am looking for the most accurate possible triangulations, and
calculations that don’t crash or compute incorrect results (after, possibly,
months of runtime), should I use Homogenous_d?

Is mpz_class an appropriate substitute for leda_integer under these
conditions, or should I go obtain LEDA?

I also looked at using the Epick_d kernel, but it does not appear to be
present in CGAL 4.4.

Epick_d is the one you should use. Robust and fast.

If you can't you can try using CGAL::Cartesian_d<CGAL::Lazy_exact_nt<CGAL::Gmpq> >


Sebastien.



Adam Getchell
about.me/adamgetchell

On Oct 23, 2014, at 5:03 AM, Sebastien Loriot (GeometryFactory)
<>
wrote:

On 10/23/2014 09:28 AM, Adam Getchell wrote:
Hello all,

Is there an equivalent of CGAL::Triangulation_vertex_base_with_info_3 for
Delaunay_d?

From looking over the documentation, it appears that unlike
Delaunay_triangulation_3 which is built on a Triangulation_vertex_base_3,
Delaunay_d seems to be built on the Convex_hull_d?

Where would be the best place to insert such data? I have, for example,
written a Delaunay : public Delaunay_d which includes member functions such
as number_of_cells() which are available in Delaunay_triangulation_3 but not
implemented in Delaunay_d.

Suggestions most appreciated.

Adam Getchell
about.me/adamgetchell


I just looked at the code and there is no elegant way to do it
(using a template parameter).
What you could try is create a traits class inheriting from the
recommended one and it might be sufficient to define a new Point_d
class with your info inheriting from traits::Point_d.

Just a guess I haven't try whether it works.

Sebastien.

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








Archive powered by MHonArc 2.6.18.

Top of Page