Subject: CGAL users discussion list
List archive
- From: Camille Wormser <>
- To: <>
- Subject: Re: [cgal-discuss] convex hull for points
- Date: Thu, 27 Aug 2009 16:10:26 +0200
I came up with this piece of code which compiles fine, but I get an exception
when I try to do a "facet->second". Could anybody please give a hint on how to
fix it?
std::list<CGAL::Object> facets;
as.filtration(std::back_inserter(facets));
std::list<CGAL::Object>::iterator fit;
for(fit = facets.begin(); fit != facets.end(); fit++)
{
const CGAL::Facet* facet = CGAL::object_cast<Facet>(&(*fit));
Hint 1: if all of these iterators were pointing to Facets, why putting them into an std::list of CGAL::Objects?
Hint 2: giving a relevant title to the message, signing your message, providing the exact exception you get, and a complete piece of code where "as" is defined could help too...
--
Camille Wormser
- Re: Re: [cgal-discuss] convex hull for points, astropic, 08/27/2009
- Re: [cgal-discuss] convex hull for points, Camille Wormser, 08/27/2009
- Re: Re: [cgal-discuss] convex hull for points, astropic, 08/28/2009
- Re: [cgal-discuss] convex hull for points, Stephane Tayeb, 08/27/2009
- Re: Re: [cgal-discuss] convex hull for points, astropic, 08/28/2009
- Re: [cgal-discuss] convex hull for points, Camille Wormser, 08/27/2009
Archive powered by MHonArc 2.6.16.