Subject: CGAL users discussion list
List archive
- From: Manuel Caroli <>
- To:
- Subject: Re: [cgal-discuss] Facets_iterator
- Date: Mon, 06 Oct 2008 15:16:08 +0200
Hi Dennis,
are you actually talking about Triangulation_2 or Triangulation_3.
In case of Triangulation_2 you should forget about my previous answer and just try it->vertex(i)->point() to extract coordinates.
Otherwise:
Why exactly do you expect it->second to be always 3? This is only the case if your triangulation has degenerate dimension 2. And what face are you talking about?
I tried your Solution and found out that it->second isn“t always 3 what
I would expect if I triangulate my face before. Sometimes I got sth.
like 0,1,2,3,3,0 for a face.
So I looked in the manual but didn`t find a explanation for this.Perhaps it might be helpful if you could provide more details about your data set.
- it->first gives you a cell to which the facet in question is incident.
Can you give me a short explanation?
- it->second gives you the index of the vertex of this cell that is opposite to the facet in question, i.e. the only vertex that is not contained in the facet you are asking for.
Best
Manuel
- [cgal-discuss] Facets_iterator, Dennis Endt, 10/04/2008
- Re: [cgal-discuss] Facets_iterator, M. Hazegh, 10/04/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/05/2008
- Re: [cgal-discuss] Facets_iterator, M. Hazegh, 10/05/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/09/2008
- Re: [cgal-discuss] Facets_iterator, Monique Teillaud, 10/09/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/09/2008
- Re: [cgal-discuss] Facets_iterator, Manuel Caroli, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, Manuel Caroli, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, Manuel Caroli, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/06/2008
- Re: [cgal-discuss] Facets_iterator, M. Hazegh, 10/05/2008
- Re: [cgal-discuss] Facets_iterator, Dennis Endt, 10/05/2008
- Re: [cgal-discuss] Facets_iterator, M. Hazegh, 10/04/2008
Archive powered by MHonArc 2.6.16.