Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug)


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug)
  • Date: Tue, 21 Aug 2007 15:31:33 +0200
  • Organization: INRIA

Bernhard Kornberger a écrit :
Laurent Rineau schrieb:
Insert here:
typedef CGAL::Triangulation_cell_base_3<K> Cb;

typedef CGAL::Triangulation_data_structure_3<Vbh> Tds;

Here you need to precise Cb:
typedef CGAL::Triangulation_data_structure_3<Vbh, Cb> Tds;

The way you have instanciated your Tds, by precising only the vertex base, you have got the Triangulation_ds_cell_base_3<K> as cell base, which is not a model of the concept TriangulationCellBase_3.

Actually, examples/Triangulation_3/hierarchy.cpp does not follow the documentation requirements either. It works only because it does not class dual().

I thought it was a bug because it worked flawlessly in previous
versions of CGAL. IIRC I have the typedefs from some of the
examples or form the documentation of previous versions.

However, thank you very much, this fixed my problem.

Nevertheless, 3.3.1 will contain a fix so that old code works
as before. The breakage was not intended.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature




Archive powered by MHonArc 2.6.16.

Top of Page