Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter


Chronological Thread 
  • From: Alex Tsui <>
  • To:
  • Subject: Re: [cgal-discuss] Add user defined information to vertex/face using 2D voronoi diagram adapter
  • Date: Tue, 11 Nov 2014 23:13:13 -0800

Here, the vertex is extended to hold an unsigned int.

You can do the same thing for the faces. For example (just modified the above example):
https://gist.github.com/alextsui05/a2d805a9a6f9635d44fb

Please post code you might have trouble with.

Good luck,

--Alex

On Mon, Nov 10, 2014 at 10:54 PM, Kazuyo Mizuno <> wrote:
Hello all.
I'm currently implementing a program using 2D voronoi diagram adapter
described as follows.
http://doc.cgal.org/latest/Voronoi_diagram_2/index.html

I want to add information (ex: ID number) to each face/vertex of
voronoi diagram.

I have tried to use following class but failed.
http://doc.cgal.org/latest/Triangulation_2/classCGAL_1_1Triangulation__vertex__base__with__info__2.html

Is there any way to do so?

Regards

---
Kazuyo Mizuno

--
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