Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Access vertices of faces in Delaunay

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Access vertices of faces in Delaunay


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Access vertices of faces in Delaunay
  • Date: Sun, 15 Feb 2009 19:24:38 +0100


wrote:
Hi Andreas,
I understand what the info does but i can't compile when including the info
class?
I get this error
‘class
CGAL::Tdsfb<CGAL::Tds2<CGAL::Triangulation_vertex_base_with_info_2<int, K,
CGAL::Tvb<K, CGAL::Tdsvb<void> > >, CGAL::Tdsfb<void> > >’ has no member
named ‘info’

The problem must be here:
typedef CGAL::Triangulation_euclidean_traits_xy_3<K> Gt;
typedef CGAL::Triangulation_vertex_base_with_info_2<Index, K> Info;
typedef CGAL::Triangulation_data_structure_2<Info> Tds;
typedef CGAL::Delaunay_triangulation_2<Gt,Tds> CDT;

I think it should be like this:

typedef CGAL::Triangulation_vertex_base_with_info_2<Index, Gt> Info; // I
replaced K with Gt
typedef CGAL::Triangulation_face_base_2<Gt> Fb; // I
added this one so that vertex and face type use the same kernel
typedef CGAL::Triangulation_data_structure_2<Info,Fb> Tds;

andreas


Is it possible to use 2D Delaunay Triagulation with the info class?-- You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss




Archive powered by MHonArc 2.6.16.

Top of Page