Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] 2D point sets and Boost Graph

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] 2D point sets and Boost Graph


Chronological Thread 
  • From: Mattia Penati <>
  • To:
  • Subject: Re: [cgal-discuss] 2D point sets and Boost Graph
  • Date: Mon, 28 Mar 2011 17:17:43 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=HELVh+4GbXnb8/yoacjghfeDhE3Gs76kympVHHKgxtXiENmQziRefz9l3dtQCBcI7L yoyrWbNdEuMv12t4DjC2MNbez+/9DbsizbJSqeg/bzNstE1BUdYuu5LKa/APqO68uh/3 jjgys0rTJn/G8CuNR11bOD0lsOnarWUEGEoww=

On 28 March 2011 15:11, Sebastien Loriot (GeometryFactory)
<>
wrote:
> Hello Mattia,
>
> Conceptually I have a problem defining a graph on a data structure which
> is documented as a point set on which you can do queries. I mean that
> there is no notion of graph on the structure, whereas there is an
> obvious one on triangulation.


I completely agree with you about the fact that a point set doesn't
define a graph, but there are some applications where this definition
is implicit. Currently I'm working on a problem in which I need to do
geometric queries and to construct the Euclidean minimum spanning tree
(EMSP) of a 2D point set. To define the EMST obviously you need a
graph, but it's the complete graph given by points, so it's quite
useless to describe each edge. And the algorithm to construct the EMST
use the fact that EMST is a subgraph of Delaunay triangulation.


> Can you try using the following specialization of graph_traits
> boost::graph_traits<Point_set<Gt,Tds>::Base> instead of
> boost::graph_traits<Point_set<Gt,Tds> > in your code and tell us whether
> it is working?

Yes.


--
Mattia Penati



Archive powered by MHonArc 2.6.16.

Top of Page