Subject: CGAL users discussion list
List archive
- From: "J. Jin" <>
- To:
- Subject: [cgal-discuss] Can I get handle out of an iterator/circulator?
- Date: Sat, 20 Mar 2010 07:29:15 -0800 (PST)
Dear all,
I want to know whether there is a general way to convert an
iterator/circulator to a handle.
Consider the following example.
I want to traverse in a mesh with type Triangulation_data_structure_2 for
some vertex in a breadth first search manner.
I start with a vertex(suppose I have its handle), so I can use circulators
to check all its neighbors.
But... here is the problem. How can I continue?
The method incident_vertices needs an input of type Vertex_handle, but what
I got is of type Vertex_circulator.
So what is the right way to do?
Any suggestions are appreciated.
James
--
View this message in context:
http://n4.nabble.com/Can-I-get-handle-out-of-an-iterator-circulator-tp1675929p1675929.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Can I get handle out of an iterator/circulator?, J. Jin, 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Karl Gaize, 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Karl Gaize, 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Laurent Rineau (GeometryFactory), 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Jiongxin Jin, 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Laurent Rineau (GeometryFactory), 03/21/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Jiongxin Jin, 03/21/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Laurent Rineau (GeometryFactory), 03/21/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Jiongxin Jin, 03/20/2010
- Re: [cgal-discuss] Can I get handle out of an iterator/circulator?, Karl Gaize, 03/20/2010
Archive powered by MHonArc 2.6.16.