Subject: CGAL users discussion list
List archive
- From: Manuel Caroli <>
- To:
- Subject: Re: [cgal-discuss] Edge/Facet Iterator
- Date: Tue, 14 Oct 2008 10:14:08 +0200
Hi Dennis,
Dennis Endt wrote:
Last Question:
Finite_facets_iterator it:
I would like to get the edges of a facet. What`s the correct method for
this?
I don't think this is the right question to ask. As you will have figured out from the manual neither edges nor facets are stored explicitly in the data structure.
So an edge is nothing but a triple (Cellhandle c, int i, int j) where c->vertex(i) and c->vertex(j) are the vertices connected by the edge.
So if you want to know these endpoints this is the answer to your question.
Be aware of the strong separation between geometric and combinatorial primitives at this point: vertices, edges, facets, and cells are purely combinatorial primitives. That is also the reason why they don't contain geometric information like e.g. coordinates, and why you do not find them in the kernel. On the other hand you have points, segments, triangles, tetrahedra etc. as geometric primitives.
hope this helps
Manuel
- [cgal-discuss] Flipping inside a triangulation, Daniel Duque Campayo, 10/13/2008
- [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Monique Teillaud, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Laurent Rineau, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Andreas Fabri, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Manuel Caroli, 10/14/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/14/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Andreas Fabri, 10/14/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/14/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Monique Teillaud, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Olivier Devillers, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Daniel Duque Campayo, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Monique Teillaud, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Daniel Duque Campayo, 10/15/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Manuel Caroli, 10/14/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
- Re: [cgal-discuss] Edge/Facet Iterator, Monique Teillaud, 10/13/2008
- [cgal-discuss] Edge/Facet Iterator, Dennis Endt, 10/13/2008
Archive powered by MHonArc 2.6.16.