Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] reference to vertex from vertex iterator

Subject: CGAL users discussion list

List archive

[cgal-discuss] reference to vertex from vertex iterator


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] reference to vertex from vertex iterator
  • Date: Fri, 25 Sep 2009 19:40:12 +0200 (CEST)

Hi,
I would like to have a reference to a vertex described by a vertex iterator
some thing like this:

for ( Vertex_iterator v_ = tmp.vertices_begin();
v_ != tmp.vertices_end(); ++v_){
Vertex &vert=v_ ;
// more code

}
with
typedef CGAL::Simple_cartesian<double> Kernel;
typedef CGAL::Polyhedron_3<Kernel> Polyhedron;
typedef Polyhedron::Vertex Vertex;

best regards

rlam



Archive powered by MHonArc 2.6.16.

Top of Page