Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] incident_edges?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] incident_edges?


Chronological Thread 
  • From:
  • To:
  • Subject: Re: [cgal-discuss] incident_edges?
  • Date: Tue, 16 Oct 2007 10:39:44 +0200

CGAL could provide this functionality. I added it on my todo-list...

Matthieu Chavent wrote:
I will use the andreas' method.
Thank you for your answers.

Andreas Fabri a écrit :

Hello,

Use incident_cells for the fixed vertex v

For a cell look at the three edges (v,w), check in an
std::set<Vertex_handle> whether you already have seen w or not.

andreas

Matthieu Chavent wrote:

Sorry, I was too short in my question:
I use a triangulation_3 with a tds.
I would like to retrieve from a vertex in 3D all the edges incident to it.


a écrit :

Hi Matthieu,

You should be more explicit in your question. For instance, at least mention about the package you are talking about...

best,
Monique Teillaud

Matthieu Chavent wrote:

Hello every body,
I would like to know if, in the 3.2.1 CGAL version, I can find a function: incident_edge(vertex).. I found incident_vertices(vertex).. but then I don't know how I can reconstruct the edge: I saw the function tds.is_edge(v,u) but I would like to create edge from the two vertex handles..
For the moment I use incident_cells(vertex) and then I pass all the edge of each cell.. But I have a lot of edges that are visited several times..

Could you help me, please?

Thank you in advance!!


---------------------------

Matthieu Chavent
LORIA
PhD student

tel: ++33(0)3-54-95-86-05

---------------------------








Archive powered by MHonArc 2.6.16.

Top of Page