Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] add customized information in delaunay terrain

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] add customized information in delaunay terrain


Chronological Thread 
  • From: Daniel Duque Campayo <>
  • To:
  • Subject: Re: [cgal-discuss] add customized information in delaunay terrain
  • Date: Tue, 29 Apr 2008 09:35:17 +0200

Hi,

Check this section of the manual:

Triangulation_2/Chapter_main.html#Section_25.11

> Delaunay Dt;
> Dt.insert(Point(0.,1.,3.));

That's not how the info() works. You don't pass the value to info as a third
number, but separately. It would be something like:

Vertex_handle vh = Dt.insert(Point(0.,1));
vh->info() = CGAL::BLUE; // Or whatever


Best,

Daniel



--
Daniel Duque
http://rincon.uam.es/dir?cw=950067138671875



Archive powered by MHonArc 2.6.16.

Top of Page