Subject: CGAL users discussion list
List archive
- From: kyungjoo <>
- To:
- Subject: [cgal-discuss] uniform surface mesh on sphere
- Date: Thu, 18 Aug 2011 11:33:39 -0700 (PDT)
I tried very simple example of sphere mesh on the example.
What I want is almost uniform surface mesh on the sphere. I tried and make
many combinations, but I dont' get a nice one. Those parameters are
dependent on the radius of sphere.
Could you give me a pointer how I can tune ?
// defining the surface
Surface_3 surface(sphere_function, // pointer to function
Sphere_3(CGAL::ORIGIN, 2.)); // bounding sphere
// Note that "2." above is the *squared* radius of the bounding sphere!
// defining meshing criteria
CGAL::Surface_mesh_default_criteria_3<Tr> criteria(30., // angular bound
0.1, // radius bound
0.1); // distance bound
// meshing surface
CGAL::make_surface_mesh(c2t3, surface, criteria,
CGAL::Non_manifold_tag());
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/uniform-surface-mesh-on-sphere-tp3753277p3753277.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] uniform surface mesh on sphere, kyungjoo, 08/18/2011
Archive powered by MHonArc 2.6.16.