Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Voronoi Diagram problem

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Voronoi Diagram problem


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] Voronoi Diagram problem
  • Date: Sun, 1 Jul 2007 22:45:09 +0200 (CEST)
  • Importance: Normal


Le Dim 1 juillet 2007 18:24, Kuan a écrit :
> 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

It should work. What is happening exactly?
Did you define dt correctly, as in the following?

const DT& dt = vd.dual();

If the const& is missing, dt will not be the underlying triangulation but
a copy of it. This may be the cause of your problems.

--
Camille





Archive powered by MHonArc 2.6.16.

Top of Page