Skip to Content.
Sympa Menu

cgal-discuss - Voronoi Diagram problem

Subject: CGAL users discussion list

List archive

Voronoi Diagram problem


Chronological Thread 
  • From: Kuan <>
  • To:
  • Subject: Voronoi Diagram problem
  • Date: Sun, 1 Jul 2007 18:24:27 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=H4NhMeiSQrvLylpU/V5LeNklWtToHVP0BnfnXcE+akXRGAy4Bs4pPqvl0Z5fxkFl54+NFMYmRmm3VjCmzpNuS7zK+BSiA3h7wdVN2BdtIwjNQJHoAkzSM/t+4UPfHyZ7yj/cTt6ybBfq0jSNkupIq+gDGK5IT/eTe3zQ44rOw0M=

Hi all,
I have a problem with Voronoi Diagram.
I want to transfer a infinite Voronoi Diagram edge(which is a Halfedge) to Ray_2;
I do it like this.
DT::Edge e = ec->dual();   //ec is the infinite Halfedge
                dt.dual(e);        //dt is the dual of the Voronoi Diagram vd, but it doesn't work here
                CGAL::Object obj;
                Ray_2 r1;
                Segment_2 s;
                if (assign(r1, obj)) {
                    /* do something with ray*/
                    int a =0;

                } else if (assign(s, obj)) {
                    /* do something with segment*/
                }



Archive powered by MHonArc 2.6.16.

Top of Page