Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] errors I get from segment_delaunay_graph_2.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] errors I get from segment_delaunay_graph_2.h


Chronological Thread 
  • From: Mahmood NT <>
  • To:
  • Subject: Re: [cgal-discuss] errors I get from segment_delaunay_graph_2.h
  • Date: Fri, 9 Nov 2007 23:45:02 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=gdeCe8KtYphpIwjch+4sRczbvetmpkNdJDt+KasfbdbcdPPMeUeJvR5iosOODIR09UWB7YGVLc/lZ2Us04wZx2Wut3AbqRFC/LP9oh/xYgqZ4n7ketq2SivOiXv5sqCIDj+m6TCfy/qCDqug5lXFTRa4QNj3lQRyfgAuFKVcXdg=;

 Hello and thanks,
what do you mean "not instantiating the Segment_Delaunay_graph templates parameters properly"? can you explain more.
 
Also the section of segment_delaunay_graph_2.h that has problem is:

template<class Gt,

class ST = Segment_Delaunay_graph_storage_traits_2<Gt>,

class DS = Triangulation_data_structure_2 <

Segment_Delaunay_graph_vertex_base_2<ST>,

Triangulation_face_base_2<Gt> >,

class LTag = Tag_false >

class Segment_Delaunay_graph_2

: private Triangulation_2<

Segment_Delaunay_graph_traits_wrapper_2<Gt>, DS >

{

friend class Segment_Delaunay_graph_hierarchy_2<Gt,ST,Tag_true,DS,LTag>;

friend class Segment_Delaunay_graph_hierarchy_2<Gt,ST,Tag_false,DS,LTag>;

protected:

// LOCAL TYPES

//------------

typedef Segment_Delaunay_graph_2<Gt,ST,DS,LTag> Self;

typedef Segment_Delaunay_graph_traits_wrapper_2<Gt> Modified_traits;

typedef Triangulation_2<Modified_traits,DS> DG;

typedef DG Delaunay_graph;

typedef LTag List_tag;

public:

// PUBLIC TYPES

//-------------

typedef DS Data_structure;

typedef DS Triangulation_data_structure;

typedef Gt Geom_traits;

typedef ST Storage_traits;

typedef typename Gt::Site_2 Site_2;

typedef typename Gt::Point_2 Point_2;

typedef typename DS::Edge Edge;

typedef typename DS::Vertex_handle Vertex_handle;

typedef typename DS::Face_handle Face_handle;

typedef typename DS::Vertex Vertex;

typedef typename DS::Face Face;

typedef typename DS::size_type size_type;

typedef typename DS::Vertex_circulator Vertex_circulator;

typedef typename DS::Edge_circulator Edge_circulator;

typedef typename DS::Face_circulator Face_circulator;

typedef typename DS::Face_iterator All_faces_iterator;

typedef typename DS::Vertex_iterator All_vertices_iterator;

typedef typename DS::Edge_iterator All_edges_iterator;

typedef typename DG::Finite_faces_iterator Finite_faces_iterator;

typedef typename DG::Finite_vertices_iterator Finite_vertices_iterator;

typedef typename DG::Finite_edges_iterator Finite_edges_iterator;

typedef typename Storage_traits::Point_container Point_container;

typedef typename Storage_traits::Point_handle Point_handle;

typedef typename Storage_traits::const_Point_handle const_Point_handle;

 

Mahmood NT


----- Original Message ----
From: Camille Wormser <>
To:
Sent: Saturday, November 10, 2007 10:42:23 AM
Subject: Re: [cgal-discuss] errors I get from segment_delaunay_graph_2.h

wrote:
> when I want to compile my project, in the above file I get several errors:
>
> for "typedef typename Geom_traits::Arrangement_type_2  AT2;":
> error C2039: 'Arrangement_type_2' : is not a member of 'CGAL::Sdgtw2<Gt_base>'
>        with
>        [
>            Gt_base=int
>        ]
> error C2039: 'const_Point_handle' & 'Point_handle' & 'Point_container': is not a member of 'CGAL::Boolean_tag<b>'
>        with
>        [
>            b=true
>        ]

> so who is causing this problem? it is now the third day I am struggling with this error?

It seems that your are not instantiating the Segment_Delaunay_graph
templates parameters properly. You should at least provide the relevant
lines of code.
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://lists-sop.inria.fr/wws/info/cgal-discuss


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Archive powered by MHonArc 2.6.16.

Top of Page