Subject: CGAL users discussion list
List archive
- From: Dennis Endt <>
- To:
- Subject: Re: [cgal-discuss] Vertex_handle
- Date: Tue, 07 Oct 2008 20:43:09 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=unXJUlWDwVi/OSGsxZVKSX50lKqW7ILzs2V2vCme3O68hwccbiLnvMdqZUXzxsO3vM pKDwenTAarC9a/q5weJbjwXtws+10fK+ZefI61hSITjbnPr2T8KTuTdAE69+qTc6x+Ws xvmP8CUeTDUeGbiaVTnR4AC1/Lzi/0TEH2oRg=
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
- [cgal-discuss] How to install supported library for CGAL???, Samay Kumar, 10/07/2008
- Re: [cgal-discuss] How to install supported library for CGAL???, Roger House, 10/07/2008
- [cgal-discuss] Vertex_handle, Dennis Endt, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Manuel Caroli, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Andreas Fabri, 10/07/2008
- Message not available
- [cgal-discuss] Vertex_handle, Juan Pablo Carbajal, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Dennis Endt, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Andreas Fabri, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Juan Pablo Carbajal, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Andreas Fabri, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Andreas Fabri, 10/08/2008
- [cgal-discuss] Redudant Points, Dennis Endt, 10/08/2008
- Re: [cgal-discuss] Vertex_handle, Monique Teillaud, 10/09/2008
- Re: [cgal-discuss] Vertex_handle, Juan Pablo Carbajal, 10/07/2008
- Re: [cgal-discuss] Vertex_handle, Andreas Fabri, 10/07/2008
- Message not available
- [cgal-discuss] Vertex_handle, Dennis Endt, 10/07/2008
- Re: [cgal-discuss] How to install supported library for CGAL???, Roger House, 10/07/2008
- <Possible follow-up(s)>
- Re: [cgal-discuss] How to install supported library for CGAL???, Samay Kumar, 10/08/2008
Archive powered by MHonArc 2.6.16.