Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] Triangulation data structure delete cell
- Date: Mon, 07 Jan 2008 10:00:00 +0100
- Organization: INRIA
a écrit :
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.
You may have missed that only vertices and cells are actually stored.
Facets and edges are only implicit, that is, referenced by a cell with
1 or 2 indices.
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!
If you want to manage edges and facets, you need to do that in your own
code.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- Triangulation data structure delete cell, t . leonid, 01/07/2008
- Re: [cgal-discuss] Triangulation data structure delete cell, Sylvain Pion, 01/07/2008
- Re: [cgal-discuss] Triangulation data structure delete cell, Leonid Tcherniavski, 01/07/2008
- Re: [cgal-discuss] Triangulation data structure delete cell, Sylvain Pion, 01/07/2008
Archive powered by MHonArc 2.6.16.