Subject: CGAL users discussion list
List archive
- From: "Vu, Khuong" <>
- To: "" <>
- Subject: [cgal-discuss] Vertex location
- Date: Mon, 16 Mar 2009 11:17:03 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
Hi all,
I want to retrieve all vertices' coordinator of a 2D segment VD. My code is
below:
SDG2::All_vertices_iterator i= sdg.all_vertices_begin();
for(int k = 1; i!=sdg.all_vertices_end(); ++i;k++){
SDG2::Vertex v = *i;
std::cout << v.point() << std::end;
}
The error was at v.point since the class Vertex doesn't have that function
(Vertex_handle does!). So, how can I complete this task? I couldn't find the
reference to using class Vertex_handle.
Many thanks,
Khuong
- [cgal-discuss] Vertex location, Vu, Khuong, 03/16/2009
- Re: [cgal-discuss] Vertex location, Manuel Caroli, 03/16/2009
Archive powered by MHonArc 2.6.16.