Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] From vertex pointers to vertex handles?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] From vertex pointers to vertex handles?


Chronological Thread 
  • From: Daniel Duque <>
  • To:
  • Subject: Re: [cgal-discuss] From vertex pointers to vertex handles?
  • Date: Mon, 23 Mar 2009 10:11:04 +0100
  • Organization: UPM

On Sunday 22 March 2009 13:33:29 Tom Kazimiers wrote:
> If I now want to call a method on the mesh like incident_vertices (
> Vertex_handle v) I have to get a vertex_handle out of the pointer to the
> vertex.

Can't you just do:

Vertex_handle vh=&(*pv);

where pv is a pointer to a vertex?

Looks funny, but it may work.

Alternatively:

Vertex v=*pv;
Vertex_handle vh=&v;

Best,

Daniel

--
Nueva dirección de e-mail!




Archive powered by MHonArc 2.6.16.

Top of Page