Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Vertex location

Subject: CGAL users discussion list

List archive

[cgal-discuss] Vertex location


Chronological Thread 
  • 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


Archive powered by MHonArc 2.6.16.

Top of Page