Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?
  • Date: Thu, 12 Feb 2009 22:19:42 +0100
  • Organization: GeometryFactory

On Thursday 12 February 2009 13:56:12 Tom Kazimiers wrote:
> Hi again,
>
> I guess I have figured it out myself. The * operator and the -> operator
> are overloaded and to
> get a "My_vertex_base" out of a Vertex_handle I have just to use the
> *-Operator :)
> (and &* to get a point to it, resp.).


Exactly. Vertex_handle::operator* gives you the vertex, and you can get a pointer to the vertex with the usual & operator: &(*vh).


--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/





Archive powered by MHonArc 2.6.16.

Top of Page