Subject: CGAL users discussion list
List archive
- From: Tom Bobach <>
- To:
- Subject: Re: [cgal-discuss] Voronoi with info
- Date: Fri, 5 Oct 2007 07:42:01 +0200
- Organization: University of Kaiserslautern
Hi Belen,
I hope this is not too late for your problem. If you are using
CGAL::Voronoi_diagram_2, then each vertex in your Voronoi
diagram is dual to a face in the Delaunay triangulation. The
Voronoi_diagram_2<...>::Vertex class has a method dual() that allows you to
access the Delaunay face. Attach an info to the Delaunay faces and it becomes
the info of your vertices.
hth
Tom
On Thursday 06 September 2007 11:53:56 Belen Palop wrote:
> Hello all,
>
> I've constructed a 2D Delaunay triangulation with some information on
> the vertices and everything works fine. Now, I'd like to have this as
> a 2D Voronoi but I think I'm loosing my information on the way. Is it
> posible to store information on the sites of the Voronoi?
>
> Thanks in advance,
>
> bpalop
>
> --
> Belen Palop
> Dpto. Informática, U. Valladolid
> Tel. 983 423000 - 4548 or 5613
--
Dipl. Inform Tom Bobach, University of Kaiserslautern
Geometric Algorithms Group
P.O. Box 3049
D-67653 Kaiserslautern
Germany
Phone: 0631-205 3800
Fax: 0631-205 3270
- Re: [cgal-discuss] Voronoi with info, Tom Bobach, 10/05/2007
Archive powered by MHonArc 2.6.16.