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: Michael Balzer <>
  • To:
  • Subject: Re: [cgal-discuss] Voronoi-/Power- diagram 3D
  • Date: Wed, 01 Aug 2007 10:33:06 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=bfevCsg+LOVQ4gItQUcslPjxOUg57CK2DncjKAm5p+bN88S4+382J9gQSWSEJyNNR9RzYXk8bDWiOdWuPS5koo4jCQMoFRTFZ7N+VmVf4G86kA0fUg45VdWyyyRCcxYFb0HCPSpJQlLSt0WpTW/nqeiL/x5JTYL+7FBokGAHLA8=

Hi,

I'm currently working on a similar problem:

Having an Apollonius graph, I'm trying to extract the polygons of the dual Apollonius diagram. Therefore, I extract for each site the dual edges of the graph edges that are incident to this site. My current method is based on ag.draw_dual_edge() for all edges of the graph, which causes some problem when combining all edges to the final polygon.

I would also highly appreciate to have access to a data structure that (correctly) represents the Apollonius diagram.


Michael




Bernhard Kornberger schrieb:

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