Subject: CGAL users discussion list
List archive
- From: Mattia Penati <>
- To:
- Subject: Re: [cgal-discuss] 2D point sets and Boost Graph
- Date: Mon, 28 Mar 2011 17:49:53 +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=ltkqzMeV6oZGBaeS8LBi+48jmVOLW90fw5vXkNlahGmNXYDdN2nayd5Q5gjtqAZpW8 ii3NkLr/cjlRScEKUoi3EpU6scMv+h1tgfk2S/yS75PN5oJLMMbWBfl2WZk0gYTARIZA FwfOad12wp/Cej0VW7PF7F2bHxvmoh70imfdM=
On 28 March 2011 17:23, Sebastien Loriot (GeometryFactory)
<>
wrote:
> Mattia Penati wrote:
>>
>> 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.
>>
> My answer was related to the fact that I was not enthusiast to add
> the graph_traits specialization and document it, because as you said you
> are using the underlying Delaunay triangulation. Hopefully your code
> works with the Delaunay specialization (up to documentation problem).
Yes, as I say in the previous message it works. And certainly the your
is the best solution.
(I'm sorry if I reply to you two times, but from this message I can
not understand if you read the second part of my previous reply)
--
Mattia Penati
- [cgal-discuss] 2D point sets and Boost Graph, mattia.penati, 03/15/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Sebastien Loriot (GeometryFactory), 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Mattia Penati, 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Sebastien Loriot (GeometryFactory), 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Mattia Penati, 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Sebastien Loriot (GeometryFactory), 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Mattia Penati, 03/28/2011
- Re: [cgal-discuss] 2D point sets and Boost Graph, Sebastien Loriot (GeometryFactory), 03/28/2011
Archive powered by MHonArc 2.6.16.