Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Voronoi diagrams

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Voronoi diagrams


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Voronoi diagrams
  • Date: Tue, 17 May 2011 17:26:25 +0200

Brian Sanjeewa Rupasinghe wrote:
Hi,

Suppose i have a list of ten points in a text file.
I want to create a voronoi diagram of these
points. How van i do it? I am new to CGAL
and please help. I use MS Visual C++ for
programming. I can read the point coordinates
from the file.

Brian.

You can use the Delaunay_triangulation_2 demo.

Sources in the CGAL tarball are here CGAL-3.8/demo/Triangulation_2.
In addition, on windows a precompiled demo is available here:
http://www.cgal.org/demo/3.8/delaunay_triangulation_2.zip

The format for input points is
x1 y1
x2 y2
x3 y3
....
xn yn

S.



Archive powered by MHonArc 2.6.16.

Top of Page