Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: How to get the Cell_handle or Vertex_handle from the Finite_cells_iterator or Finite_vertices_iterator?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: How to get the Cell_handle or Vertex_handle from the Finite_cells_iterator or Finite_vertices_iterator?


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: How to get the Cell_handle or Vertex_handle from the Finite_cells_iterator or Finite_vertices_iterator?
  • Date: Fri, 22 Oct 2010 10:55:02 +0200
  • Organization: GeometryFactory

Le vendredi 22 octobre 2010 08:38:57, 魏华祎 a écrit :
> Hi, everyone,
>
> I know why I make a mistake. In fact, the iterator and the handle are the
> same things.
>
> Cell_handle& cell = cit;
> Vertex_handle & vertex = vit;

Yes, and even, directly use the iterator variables: for example
cit->vertex(0)
instead of cell->vertex(0).

--
Laurent Rineau, PhD
Release Manager of the CGAL Project http://www.cgal.org/
R&D Engineer at GeometryFactory http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page