Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Strange output from Delaunay triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Strange output from Delaunay triangulation


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Strange output from Delaunay triangulation
  • Date: Fri, 25 Sep 2009 19:15:29 +0200

Sybren A. Stüvel wrote:
Hi folks,

I'm building a Delaunay triangulation in 3D. After I added 29 points
and stream the triangulation to a file I get the attached output. It
contains the 29 points and 129 cells.

The first cell consists of vertices "15 0 5 19", so I assume vertex
indices are 0 based. However, another cell consists of vertices "13 7
29 19". How can this be when there are only 29 points?

Can anyone shed some light on this? I've attached a rather minimal
test program and its output. I compiled it on Ubuntu Linux using:

g++ -fno-gnu-keywords -pedantic -Wall -Weffc++ -Wextra -std=c++98 -g
-lCGAL basetest.cpp -o basetest

but I saw the same problem on Windows XP with Visual C++ 2005 SP1.

I use CGAL 3.4.

Cheers,



Hi Sybren,

There is the infinite vertex with index 0. So the cells with an index 0
are the cells outside of the convex hull.

andreas



Archive powered by MHonArc 2.6.16.

Top of Page