Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] retrieve cell_handle from facet
- Date: Wed, 17 Oct 2007 13:34:29 +0200
Matthieu Chavent wrote:
I found a lot of things in the manual... For the question about facets, I though that I missed a link.. I work a lot with the online manual. Especially with the triangulation_3 part.
fine
May be, an idea would be to add a global diagram to sum up all the methods that we can use to move in the triangulation (from a cell, a facet...).
do you think all this would fit in a diagram...?
It is just a suggestion and I would try to create such a figure in few weeks, if you are interested.
ok
Andreas Fabri a écrit :
Hi Matthieu,
My question about the quality of the documentation was serious.
Did you happy programming before reading the documentation (what
I admittedly often do), or did you try to find it in the manual,
and gave up after a couple of minutes?
andreas
Matthieu Chavent wrote:
Thanks to Andreas Fabri and Laurent Rineau and sorry for neewbies questions.
Regards,
Matthieu Chavent.
Laurent Rineau a écrit :
On Tuesday 16 October 2007 17:16:07 Matthieu Chavent wrote:
Good afternoon,
I use triangulation_3 and and use a facet_iterator. I would like to know
if it possible to retrieve from a facet the two cell_handles of the two
cells which have the facet in common, in a simple manner.
Well, I quote here the definition of Facet, from the reference page "TriangulationDataStructure_3":
"typedef std::pair<Cell_handle, int> Facet;
(c,i) is the facet of c opposite to the vertex of index i."
So, if "f_it" is a facet iterator, "f_it->first" is one of the two cells you request, and "f_it->first->neighbor(f_it->second)" is the other one (see the reference page "TriangulationDataStructure_3::Cell" for a description of Cell::neighbor).
Best regards,
- Re: [cgal-discuss] retrieve cell_handle from facet, (continued)
- Re: [cgal-discuss] retrieve cell_handle from facet, Andreas Meyer, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Camille Wormser, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Sylvain Pion, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Camille Wormser, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Eivind LM, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Andreas Meyer, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Andreas Meyer, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Eivind LM, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Andreas Meyer, 10/30/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Ashwin Nanjappa, 10/31/2007
- Re: [cgal-discuss] retrieve cell_handle from facet, Monique . Teillaud, 10/17/2007
Archive powered by MHonArc 2.6.16.