Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] fix border edges for mesh simplification

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] fix border edges for mesh simplification


Chronological Thread 
  • From: Qianqian Fang <>
  • To:
  • Subject: Re: [cgal-discuss] fix border edges for mesh simplification
  • Date: Mon, 31 Mar 2008 16:20:44 -0400
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=M2YVvUGI+RwtuKtCyGFWxvLZJFTDYSN3KhaLZSUwXXPNia/NFBQX8iNJztkmEOZBz8B6md5wb9v6GGWzOSZj1L+EJXFT6IK1IbYA0E9k/rcs34BJ73esISMqVWWBYzyD8ZKpUlLk1vRn3h/Ot6f0TIXvxtlyc6q7lvgxV8hXfao=

Fernando Cacciola wrote:
Hi Qianqian,

typedef typename Profile::const_in_edge_iterator const_in_edge_iterator ;

Replacing the above line to
typedef typename Profile::ConstGraphTraits::const_in_edge_iterator const_in_edge_iterator ;

the error message became:

edge_collapse_enriched_polyhedron.cpp:142: error: no type named ‘const_in_edge_iterator’ in ‘struct boost::graph_traits<const CGAL::Polyhedron_3<CGAL::Simple_cartesian<double>, CGAL::Polyhedron_items_with_id_3, CGAL::HalfedgeDS_default, std::allocator<int> > >’

seems something still not quite right.

That's not exactly the way I defined it in the sample code I've attached.

It should be like this:

typedef typename Profile::ConstGraphTraits::const_in_edge_iterator const_in_edge_iterator ;

HTH

Fernando Cacciola
GeometryFactory




Archive powered by MHonArc 2.6.16.

Top of Page