Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Voronoi-/Power- diagram 3D

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Voronoi-/Power- diagram 3D


Chronological Thread 
  • From: Bernhard Kornberger <>
  • To:
  • Subject: Re: [cgal-discuss] Voronoi-/Power- diagram 3D
  • Date: Wed, 01 Aug 2007 10:21:18 +0200


schrieb:
Bernhard Kornberger wrote:

schrieb:

Is it true that I have to implement the conversion from
the power diagram to a graph of the power diagram by myself
or is there already a function that I didn't find?


The graph is dual to the triangulation (up to degeneracies), do you need to convert the triangulation to its dual that you would store in addition ?

Monique


Right. I need a function like this:

Regular_triangulation Tr;
Tr.insert(p1);
Tr.insert(p2);
Tr.insert(p3);
Tr.insert(p4);

UndirectedGraph g=Tr.dual();

..such that I can traverse along the edges of $g afterwards.

but you can traverse edges of g by just following adjacency relations between tetrahedra in Tr, without storing g.
Monique

I need functions like breath-first search on the edges of the
power diagram and I need to label edges as already visited or
not. This is complicated to implement (and horrible to debug)
if the power-diagram is not explicitly given as a graph.

Best
Bernhard








Archive powered by MHonArc 2.6.16.

Top of Page