Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Index of a cell in Delaunay Triangulation

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Index of a cell in Delaunay Triangulation


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Index of a cell in Delaunay Triangulation
  • Date: Thu, 11 Feb 2010 17:23:30 +0100
  • Organization: GeometryFactory

Le jeudi 11 février 2010 16:59:00, yutoufr a écrit :
> Thanks for the reply, perhaps its not clear my question.
>
> In fact, i want to access cells independently to the iterator. I think the
> way to access a cell with using cell_handle suppose that there is a
> iterator(random access) which has a random starting position. So i want
> something like index which is unchangable to the triangulation.

You will have to number the cells yourself. The cells container of CGAL
triangulation is not a linear container (like a vector). It is a mix of a
list
and a vector (actually, it is more like a list of vectors of cells). There
are
no canonical way to number the cells.

--
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