Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Discrete Voronoi Implementation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Discrete Voronoi Implementation


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Discrete Voronoi Implementation
  • Date: Tue, 01 Sep 2009 13:45:41 +0200


a écrit :
Hey.
Thanks for taking interest.
As the usual Voronoi Tessellation is defined, a 2D space is divided into n
regions according to n-sites. Now, suppose instead of the underlying 2D space,
you have a list of 2D points that you need to distribute among the n sites.
So,
the final result would be pretty familiar, i.e., for example, if a point i
occurs in the continuous Voronoi region of site k, then here, in the discrete
case, it would alloted to site k. Basically, each point needs to be to its
closest site.

So, I just wanted to know whether such an implementation would be there in
CGAL.

Thank you.
Hope you can help.
so just compute the usual Delaunay triangulation of the sites
(e.g. using the vertex with info to add a list or any suitable data structure to store points to each site)

Then ask for the nearest neighbor of all your points !





Archive powered by MHonArc 2.6.16.

Top of Page