Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Extra data for points

Subject: CGAL users discussion list

List archive

[cgal-discuss] Extra data for points


Chronological Thread 
  • From: James Le Cuirot <>
  • To:
  • Subject: [cgal-discuss] Extra data for points
  • Date: Tue, 1 Dec 2009 19:35:01 +0000

Hi,

I want to attach a string to each point that I'm passing into a
Delaunay Triangulation. I need to be able to access this string when
iterating through the edges later on. I thought that subclassing the
Point_2 class was the way to go but when I obtain the segment and
consequently the point, that information appears to be lost. I guess
this is because you get a copy of the point rather than a pointer to
the actual instance you passed in. What is the proper way to do this? I
saw some things in the manual like property maps that sounded like they
might be what I need but they were discussed in a different context so
I wasn't sure.

Thanks,
James



Archive powered by MHonArc 2.6.16.

Top of Page