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: 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



Archive powered by MHonArc 2.6.16.

Top of Page