Skip to Content.
Sympa Menu

cgal-discuss - Triangulation data structure delete cell

Subject: CGAL users discussion list

List archive

Triangulation data structure delete cell


Chronological Thread 
  • From:
  • To:
  • Subject: Triangulation data structure delete cell
  • Date: Mon, 7 Jan 2008 07:55:46 +0100

Please help!

I use CGAL on Windows XP with Microsoft Visual Studio 2005.

I would like to use the Delaunay_triangulation_3 object as a container of the
vertices, edges, facets and cells.

Trying to do so, I created a Triangulation on a vertices which are the
corners of a cube. So far so good.

Now the container functionality: I would like to delete one finite cell, and
the cell only by:

T->tds().delete_cell(c);

where 'T' is a Delaunay_triangulation_3 object and 'c' is a Cell_handle on an
existing cell (T_copy->tds().is_cell(c) is true). I would like to expect that
the rest of the triangulation structure is preserved, but no. Putting out the
numbers, I get one cell less (OK), but also some finite facets less too (Not
OK)!

I do understand that such expectation is not really in the sense of the
triangulation functionality, but I do need it!



Archive powered by MHonArc 2.6.16.

Top of Page