Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Cell_handle and cell_iterator

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Cell_handle and cell_iterator


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Cell_handle and cell_iterator
  • Date: Wed, 07 May 2014 13:25:33 +0200

Le 5/7/14 1:11 PM, cdoucet a écrit :
Hello,

in a C++ code which uses CGAL, there is a loop like the following:

----------------------------------
for ( std::vector<Cell_handle>::iterator iter = cells.begin(); iter!
=cells.end(); ++iter)
  (*iter)->info() +=2;
----------------------------------

I need to store more than one integer in iter.


the type info is refering to is a template type, you can choose any type you want.


--
Olivier Devillers, chercheur à

PNG image




Archive powered by MHonArc 2.6.18.

Top of Page