Subject: CGAL users discussion list
List archive
- From: Cedric Doucet <>
- To:
- Subject: Re: [cgal-discuss] Cell_handle and cell_iterator
- Date: Wed, 7 May 2014 13:32:29 +0200 (CEST)
Thank you for your answer Olivier!
Indeed, I finally chose this solution and replace int by std::pair<int,int> in the template parameter corresponding to info.
Fortunately, this does not lead to too many modifications in the code.
But it could be.
Therefore, I am still interested in having answers to my two questions.
Best,
Cédric
De: "Olivier Devillers" <>
À:
Envoyé: Mercredi 7 Mai 2014 13:25:33
Objet: Re: [cgal-discuss] Cell_handle and cell_iteratorLe 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.
Attachment:
LogoLinria-blue.png
Description: PNG image
- [cgal-discuss] Cell_handle and cell_iterator, cdoucet, 05/07/2014
- Re: [cgal-discuss] Cell_handle and cell_iterator, Olivier Devillers, 05/07/2014
- Re: [cgal-discuss] Cell_handle and cell_iterator, Cedric Doucet, 05/07/2014
- Re: [cgal-discuss] Cell_handle and cell_iterator, Olivier Devillers, 05/07/2014
Archive powered by MHonArc 2.6.18.