Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: Re: [cgal-discuss] connectivity of a tet mesh generated from image
- Date: Thu, 09 Feb 2012 14:26:20 +0100
- Organization: GeometryFactory
Le jeudi 09 février 2012 14:18:14 Dominik Szczerba a écrit :
> Thank you, this is very useful.
>
> Still one question though: what is ci->neighbor(i) supposed to return
> if a cell does not have a neighbor i? I tried testing against NULL,
> but it does not seem to be the case. I also tried
> ci->has_neighbor(ci->neighbor(i) but this seems to always return true.
In CGAL triangulations, all cells always have d+1 neighbors (d is the
dimension).
C3t3 add a layer on top of CGAL triangulations. Given a c3t3 and a cell
handle
ch, you must call:
c3t3.is_in_complex(ch)
to know if a given cell of the triangulation is part of the mesh or not.
--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/
- [cgal-discuss] connectivity of a tet mesh generated from image, Dominik Szczerba, 02/09/2012
- Re: [cgal-discuss] connectivity of a tet mesh generated from image, Laurent Rineau (GeometryFactory), 02/09/2012
- Re: [cgal-discuss] connectivity of a tet mesh generated from image, Dominik Szczerba, 02/09/2012
- Re: Re: [cgal-discuss] connectivity of a tet mesh generated from image, Laurent Rineau (GeometryFactory), 02/09/2012
- Re: [cgal-discuss] connectivity of a tet mesh generated from image, Dominik Szczerba, 02/09/2012
- Re: [cgal-discuss] connectivity of a tet mesh generated from image, Laurent Rineau (GeometryFactory), 02/09/2012
Archive powered by MHonArc 2.6.16.