Subject: CGAL users discussion list
List archive
- 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
- Voronoi Diagram problem, Kuan, 07/01/2007
- Re: [cgal-discuss] Voronoi Diagram problem, Camille . Wormser, 07/01/2007
- Re: [cgal-discuss] Voronoi Diagram problem, Kuan, 07/02/2007
- Re: [cgal-discuss] Voronoi Diagram problem, Camille . Wormser, 07/01/2007
Archive powered by MHonArc 2.6.16.