Subject: CGAL users discussion list
List archive
- From: "Leonid Tcherniavski" <>
- To:
- Subject: Re: [cgal-discuss] Triangulation data structure delete cell
- Date: Mon, 7 Jan 2008 10:25:48 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FPcq0vLh8MeJBZmQsDb237SZloXviSsMgyNoVTZNEjbZn5bkhCeBPxYMP1Trd9JQO9DIx2Wjkx+pdfKDOFnEksWVlGpmOU6b14sOcNmPEDlrVquyYav0S3ts+PMVEVWj05gSZhRvQi24mmSRtIGP0wTRWTVRung5tLsKE69lYbk=
On 07/01/2008, Sylvain Pion
<>
wrote:
>
> 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.
>
Indeed, thanks!
> > 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/
>
>
>
- 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.