Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Extracting topology information resulting from

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Extracting topology information resulting from


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Extracting topology information resulting from
  • Date: Tue, 26 Aug 2008 20:52:45 +0200

Sebastian Marino wrote:
Looking at Chapter 35: 3D Surface Mesh Generation, I'd like to reproduce Example 35.3.1: Meshing an Implicit Surface.

While trivial to get the provided example code up and running, I am having trouble extracting a discrete mesh suitable for visualization via OpenGL.

Any wisdom regarding how to extract a list of finite vertices and facets from the resulting CGAL::Complex_2_in_triangulation_3 from CGAL::make_surface_mesh(...) would be greatly appreciated. I find the iterators in this instance to be very confusing, and while I'm sure I can figure this out fairly quickly, the level of complexity has me wondering if I've missed something obvious and want to make sure any code I write is in like with the proper utilization of the CGAL library.

Thanks in advance for your time.
-Sebastian Marino



Hi Sebastian,

We are aware of the fact that a function that extracts a Polyhedron_3
out of the Complex_2_in_triangulation_3 is a missing feature.

So for the moment it is as complex as you feel it.

andreas



Archive powered by MHonArc 2.6.16.

Top of Page