Subject: CGAL users discussion list
List archive
- From: <>
- To:
- Subject: [cgal-discuss] Own Types as Sites in a voronoi diagram?
- Date: Wed, 11 Feb 2009 00:07:21 +0100 (CET)
Hi there,
after managing getting CGAL to work with Visual Studio 2009 I played around
with some examples - which works pretty good, thanks for them :)
I need to put some "custom" data in a voronoi diagram. For example: If I add a
new point to a diagram and query it I get back a "Vertex_handle". At least is
the the example telling me this:
Locate_result lr = vd.locate(p);
if ( Vertex_handle* v = boost::get<Vertex_handle>(&lr) { ... }
Ideally I would like to get back a type of mine (which should extend
Vertex_handle I guess) in which I could attach some information to a vertex in
the diagram. Is there a way to achive this? It would be really nice if you
could point me in the right direction.
Thanks in advance,
Tom
- [cgal-discuss] Own Types as Sites in a voronoi diagram?, 2voodoo, 02/11/2009
- <Possible follow-up(s)>
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, daniel . duque, 02/11/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Laurent Rineau (GeometryFactory), 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Andreas Fabri, 02/12/2009
- [cgal-discuss] "Easy" Nearest vertex location query in constrained delaunay triangulation?, Tom Kazimiers, 02/13/2009
- Re: [cgal-discuss] "Easy" Nearest vertex location query in constrained, Mariette Yvinec, 02/13/2009
- Re: [cgal-discuss] "Easy" Nearest vertex location query in constrained, Tom Kazimiers, 02/13/2009
- Re: [cgal-discuss] "Easy" Nearest vertex location query in constrained, Tom Kazimiers, 02/17/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Andreas Fabri, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Laurent Rineau (GeometryFactory), 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
- Re: [cgal-discuss] Own Types as Sites in a voronoi diagram?, Tom Kazimiers, 02/12/2009
Archive powered by MHonArc 2.6.16.