Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to access
- Date: Fri, 13 Mar 2009 19:51:29 +0100
Hi Qi !
a écrit :
Hi, I'm using Triangulation_cell_base_with_info_3 so that I can augment cells
with more information, but reading the manual, it says:
"It provides an easy way to add some user defined information in cells. Note
that input/output operators discard this additional information."
This statement confuses me, as if input/output iterators discard this
additional information, does that mean I cannot access the extra information
when I am using Triangulation_cell_base_with_info_3 with for example a
hierarchical delaunay triangulation (as below)?
[...]
for (Finite_cells_iteratorI fit=dti.finite_cells_begin();
fit!=dti.finite_cells_end();++fit)
{
cout<<(*fit).info.in_model<<endl; <------compile error here
Try info() with the parenthesis ?
Did you find the the manual or the example program confusing about this?
"input/output operators" in the manual refer to the file reading
and writing routines.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
- [cgal-discuss] Triangulation_cell_base_with_info_3 - how to access the info?, qp202, 03/13/2009
- Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to access, Sylvain Pion, 03/13/2009
- Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to, Qi Pan, 03/13/2009
- Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to, Laurent Rineau (GeometryFactory), 03/14/2009
- Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to, Qi Pan, 03/13/2009
- Re: [cgal-discuss] Triangulation_cell_base_with_info_3 - how to access, Sylvain Pion, 03/13/2009
Archive powered by MHonArc 2.6.16.