Subject: CGAL users discussion list
List archive
- From: Stefan Schirra <>
- To:
- Subject: Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?
- Date: Fri, 28 Sep 2007 10:10:12 +0200
Tom Bobach wrote:
@ Stefan:
Is there a way to iterate over the elements in the hashmap? This is what I need the std::set for - collect a bunch of handles. The chained_map used in the Unique_hash_map supports some rudimetary iteration, yet I cannot access it.
To be honest, I don't know. Apparently, there is nothing like that in the public interface. I guess, I would use a list of all the handles stored in the hash map and store the list position of an element in the hash map as well. Gives you both, iteration and (almost) constant time checking for "being defined".
best regards
Stefan
- HalfedgeDS_*::Vertex_handle in std::set and std::map?, Tom Bobach, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Wesley Smith, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Stefan Schirra, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Tom Bobach, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Stefan Schirra, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Andreas Fabri, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Stefan Schirra, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Tom Bobach, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Bart Janssens, 09/28/2007
- Re: [cgal-discuss] HalfedgeDS_*::Vertex_handle in std::set and std::map?, Andreas Fabri, 09/28/2007
Archive powered by MHonArc 2.6.16.