Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Extracting topology information resulting from 3D Surace Mesh Generation from Implicit Surfaces?

Subject: CGAL users discussion list

List archive

[cgal-discuss] Extracting topology information resulting from 3D Surace Mesh Generation from Implicit Surfaces?


Chronological Thread 
  • From: "Sebastian Marino" <>
  • To:
  • Subject: [cgal-discuss] Extracting topology information resulting from 3D Surace Mesh Generation from Implicit Surfaces?
  • Date: Tue, 26 Aug 2008 11:49:32 -0700

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




Archive powered by MHonArc 2.6.16.

Top of Page