Subject: CGAL users discussion list
List archive
- From: MaelRL <>
- To:
- Subject: Re: [cgal-discuss] Face around vertex circulator
- Date: Tue, 7 Nov 2017 03:55:12 -0700 (MST)
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=None ; spf=Pass
- Ironport-phdr: 9a23:AHaScRSkKUV6PRCoHIdCiwjOP9psv+yvbD5Q0YIujvd0So/mwa67YxWN2/xhgRfzUJnB7Loc0qyN7PCmBDRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnZBUin4YAF6L+CwFo/JhNmszMiz/YfSakNGnmmTe7R3eTC/oAHrkoFChIJvLuArzQbZr38Of+1cz25AKl+Umhvg/Na+9ZV/9D5B/fkm8pgTAu3BY60kQOkAX3wdOGcv6ZizuA==
For the first question, you can find an example of use in test_circulator.cpp
:
https://github.com/CGAL/cgal/blob/master/BGL/test/BGL/test_circulator.cpp#L87
Below is the same file in a branch that is not integrated yet, where the use
of that function is more detailed:
https://github.com/CGAL/cgal-public-dev/blob/Motorcycle_graph-GF/BGL/test/BGL/test_circulator.cpp#L117
For the second question, you can use halfedge(v1, v2, graph), which returns
a pair of an halfedge_descriptor and boolean (to indicate whether the
halfedge exists or not). Once you have the halfedge, you can grab the faces
through, face(h, graph), and using opposite(h, graph).
See
https://doc.cgal.org/latest/BGL/classHalfedgeGraph.html#a965f1ed3f109080edd516222b273426c.
--
Sent from: http://cgal-discuss.949826.n4.nabble.com/
- [cgal-discuss] Face around vertex circulator, lukkio, 11/06/2017
- Re: [cgal-discuss] Face around vertex circulator, lukkio, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, MaelRL, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, Luca Gagliano, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, MaelRL, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, Luca Gagliano, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, MaelRL, 11/07/2017
- Re: [cgal-discuss] Face around vertex circulator, lukkio, 11/07/2017
Archive powered by MHonArc 2.6.18.