Subject: CGAL users discussion list
List archive
- From: Andreas Fabri <>
- To:
- Subject: Re: [cgal-discuss] Vertex_handle
- Date: Tue, 07 Oct 2008 20:52:31 +0200
Dennis Endt wrote:
Andreas Fabri schrieb:
Dennis Endt wrote:Thanks a lot! :)
Hi,for(list<Vertex_handle>::iterator it = vertices.begin();
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
it != vertices.end();
++it){
std::cout (*it)->point() << std::endl;
}
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
- [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.