Subject: CGAL users discussion list
List archive
- From: Laurent Rineau <>
- To:
- Subject: Re: [cgal-discuss] 3D surface mesh generation
- Date: Tue, 24 Jun 2008 13:00:58 +0200
On Tuesday 24 June 2008 12:24:34 Hui Ding wrote:
> Hi,
>
> Since I made my implicit function, I got an
> "Surface_mesh_default_triangulation_3" which I named it "tr". My question
> is: Is there anyway to return only the facets or vertices of the surface?
> Thanks a lot.
Use the 2D complex in 3D triangulation. The variable is probably named c2t3.
The documentation is here:
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Surface_mesher_ref/Concept_SurfaceMeshComplex_2InTriangulation_3.html
A facet f is on the surface iff c2t3.face_status(f)!=NOT_IN_COMPLEX. If you
want to iterate of facets of the surface, you can use the sequence
c2t3.facets_begin(), c2t3.facets_end()
The iterators have type Facet_iterator (defined in the C2T3).
--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] Thinning a polygon / inner polygon offsetting, ajaenicke, 06/23/2008
- Re: [cgal-discuss] Thinning a polygon / inner polygon offsetting, Andreas Fabri, 06/24/2008
- Re: [cgal-discuss] Thinning a polygon / inner polygon offsetting, Wolfgang Aigner, 06/24/2008
- [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Laurent Rineau, 06/24/2008
- RE: [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Laurent Rineau, 06/24/2008
- RE: [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- RE: [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Laurent Rineau, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Hui DING, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Laurent Rineau, 06/24/2008
- RE: [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- Re: [cgal-discuss] 3D surface mesh generation, Laurent Rineau, 06/24/2008
- [cgal-discuss] 3D surface mesh generation, Hui Ding, 06/24/2008
- Re: [cgal-discuss] Thinning a polygon / inner polygon offsetting, Wolfgang Aigner, 06/24/2008
- Re: [cgal-discuss] Thinning a polygon / inner polygon offsetting, Andreas Fabri, 06/24/2008
Archive powered by MHonArc 2.6.16.