Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Nearest neighbour vertices

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Nearest neighbour vertices


Chronological Thread 
  • From: Michael Balzer <>
  • To:
  • Subject: Re: [cgal-discuss] Nearest neighbour vertices
  • Date: Wed, 1 Apr 2009 20:10:09 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=CBfdvjEr+dt6tVzOR55EtjaHoOd/CbW26RHRfw2d/TAMHMK5lmzgOmEW0hVMeLXYKy 6F+mXG1uMTIBBYBbuErS5I4wDyF+4rAJIuLFdP4/afFjlMZNpNFEiX17rCTutTyl7cb0 NahQ14HgJoEmfDPtcIzLisnXAP33NuMuj6KVc=

Hi disruptive,

the Delaunay_triangulation_2 in CGAL is inherited from
Triangulation_2. In this class you find all necessary methods for the
traversal of the triangulation, such as the method t.incident_faces
(Vertex_handle v) for acessing the incident faces of a vertex.


Michael


On Wed, Apr 1, 2009 at 19:47, disruptive
<>
wrote:
>
>
>
> disruptive wrote:
>>
>> I wish to iterate over a Delauney triangulation by vertex and for each
>> vertex.
>>
>> I wish to determine the faces that share this vertex. And then for each
>> face, I wish to determine the vertices's that comprise this face (one of
>> which will be the shared the vertex). The latter part can be done.
>>
>> However my question relates to how best to get nearest neighbour vertices,
>> is there a way with the edge function?
>>
>> Some suggestions for the least complex way to do this would be very much
>> appreciated.
>>
>> Thanks
>>
>
>
> Is there a way that I can given a vertex, get the surrounding faces?
>
> --
> View this message in context:
> http://www.nabble.com/Nearest-neighbour-vertices-tp22786442p22831902.html
> Sent from the cgal-discuss mailing list archive at Nabble.com.
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>



Archive powered by MHonArc 2.6.16.

Top of Page