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: Thu, 23 Oct 2014 14:03:44 +0200
  • Organization: GeometryFactory

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.



Archive powered by MHonArc 2.6.18.

Top of Page