Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Persistent cell identifiers in Triangulation_3

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Persistent cell identifiers in Triangulation_3


Chronological Thread 
  • From: Olivier Devillers <>
  • To:
  • Subject: Re: [cgal-discuss] Persistent cell identifiers in Triangulation_3
  • Date: Thu, 11 Feb 2016 11:18:08 -0400


On 10 Feb 2016, at 18:10, Brown, James 2 <> wrote:


After some experimentation it seems (assuming the cell has not been removed by a point insertion or vertex deletion) that I can still correctly reference a cell through its Cell_handle after a change to the triangulation. 

Yes it is safe to reference a cell b its cell_handle  if the cell has not be modified by the modifications done in the triangulation.
But if you have a cell_iterator, it is safe for to access the cell behind the iterator, but if the triangulation has been modified
(even without modifying the current cell) the ++ is no longer safe.




Archive powered by MHonArc 2.6.18.

Top of Page