Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Using Alpha_shape_3::filtration()
- Date: Tue, 12 Nov 2013 16:47:47 +0100
- Organization: GeometryFactory
On 11/12/2013 03:00 PM, hidding wrote:
Hi,It's a bug. It is missing the star. I have already fixed it and will be in the next release of CGAL.
I'm trying to compute persistence diagrams from Alpha-shapes. I used the
example code from the manual on Alpha_shape_3, and then output the entire
filtration (for use with the "phat" library) using the
Alpha_shape_3::filtration() method. However I don't completely understand
how this method accesses the OutputIterator. The alpha_shape_3 header file
contains the following line:
at /usr/include/CGAL/Alpha_shape_3.h:978
978 it++ = make_object(vh);
This complicates the writing of an output iterator in two ways. Having to
define the post-fix (++) operator seems unnecessary, and even then it should
be "*it++" instead. Is this a bug? Does anyone have a working example to get
this job done?
In the meantime, you can add the *.
Sebastien.
I'm using version 4.2 of CGAL, shipped with Ubuntu 13.10.
Thanks, Johan
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Using-Alpha-shape-3-filtration-tp4658389.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Using Alpha_shape_3::filtration(), hidding, 11/12/2013
- Re: [cgal-discuss] Using Alpha_shape_3::filtration(), Sebastien Loriot (GeometryFactory), 11/12/2013
Archive powered by MHonArc 2.6.18.