Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] Bug in Delaunay Triangulation 3
- Date: Wed, 8 Aug 2007 18:06:16 +0200
- Organization: Inria, Sophia Antipolis, FRANCE
On Wednesday 08 August 2007 17:36:16 Bernhard Kornberger wrote:
> Here is a minimal example:
>
> dist.ist.tugraz.at/delaunaytest.tar.gz
>
> The source code is basically:
>
>
> #include "CGAL/Exact_predicates_exact_constructions_kernel.h"
> #include <CGAL/Delaunay_triangulation_3.h>
> #include <CGAL/Triangulation_hierarchy_3.h>
> #include <CGAL/Triangulation_vertex_base_with_info_3.h>
>
> typedef CGAL::Exact_predicates_exact_constructions_kernel K;
> typedef CGAL::Triangulation_vertex_base_with_info_3<int, K> Vb;
> typedef CGAL::Triangulation_hierarchy_vertex_base_3<Vb> Vbh;
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().
--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62
- Bug in Delaunay Triangulation 3, Bernhard Kornberger, 08/08/2007
- Re: [cgal-discuss] Bug in Delaunay Triangulation 3, Laurent Rineau, 08/08/2007
- Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug), Bernhard Kornberger, 08/08/2007
- Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug), Sylvain Pion, 08/21/2007
- Re: [cgal-discuss] Bug in Delaunay Triangulation 3 (fixed, no bug), Bernhard Kornberger, 08/08/2007
- Re: [cgal-discuss] Bug in Delaunay Triangulation 3, Laurent Rineau, 08/08/2007
Archive powered by MHonArc 2.6.16.