Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Vertex_handle

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Vertex_handle


Chronological Thread 
  • From: "Juan Pablo Carbajal" <>
  • To:
  • Subject: Re: [cgal-discuss] Vertex_handle
  • Date: Tue, 7 Oct 2008 21:00:36 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=wjMWamQKPrUAOs99Qq+zBi/Mo0CZCq1WhWtx50yIZUUTrkuyxw37E8+LukFuHBl6fG CIv39i/UuZDKatahSsoSbJK13dN0y8z9c53bKlVIQJwj6XUVvkO0HSZYwR0RXPxRnAv+ RO9C1+iWLH3Dsw7uNDrrBexNVTd/t5/ZQQmDI=

Thanks a lot!
Extremely useful!

JPi


On Tue, Oct 7, 2008 at 8:52 PM, Andreas Fabri
<>
wrote:
> Dennis Endt wrote:
>>
>> Andreas Fabri schrieb:
>>>
>>> Dennis Endt wrote:
>>>>
>>>> Hi,
>>>>
>>>> thats my Problem:
>>>> /typedef CGAL::Simple_cartesian<double> SK;
>>>> typedef CGAL::Filtered_kernel<SK> FK;
>>>> struct K : public FK {};
>>>>
>>>> typedef K::Point_3 dPoint;
>>>> typedef CGAL::Delaunay_triangulation_3<K> Triangulation;
>>>> typedef Triangulation::Vertex_handle Vertex_handle;
>>>>
>>>> Triangulation T;
>>>>
>>>> list<Vertex_handle> vertices; // vector to hold the points of the convex
>>>> hull
>>>> T.incident_vertices(T.infinite_vertex(), back_inserter(vertices)); //
>>>> get the points from Delaunay/
>>>>
>>>> Can anyone plz tell how I get access to the points corresponding to the
>>>> vertex_handles? It is very urgent.
>>>>
>>>> I tried everything so far...it cannot be so difficult ;)
>>>>
>>>> Best Dennis
>>>
>>> for(list<Vertex_handle>::iterator it = vertices.begin();
>>> it != vertices.end();
>>> ++it){
>>> std::cout (*it)->point() << std::endl;
>>> }
>>
>> Thanks a lot! :)
>>
>> I only forgot to set the brackets. It can be so easy :)
>>
>> Best
>> Dennis
>
>
> And here comes the "official" link
> http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Handle_ref/Concept_Handle.html
>
> andreas
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://lists-sop.inria.fr/wws/info/cgal-discuss
>



--
JuanPi
"You can know the name of a bird in all the languages of the world,
but when you're finished, you'll know absolutely nothing whatever
about the bird... So let's look at the bird and see what it's doing --
that's what counts. I learned very early the difference between
knowing the name of something and knowing something."
Richard Feynman - What Do You Care What Other People Think



Archive powered by MHonArc 2.6.16.

Top of Page