Subject: CGAL users discussion list
List archive
- From: Hamid G <>
- To:
- Subject: [cgal-discuss] make_surface_mesh produces degenerate triangles
- Date: Fri, 03 Dec 2010 10:47:58 -0500
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; b=P0MoM0U5J8/EJDP00VGjDqK8hn1xF3w7OuC2Ecdc66kRtoamcc/KtX9ye3pbOdTMFL wZWONiZtM4Fs+fGGHxOUMGcFu8ZifU7Gy5ll9MHW6xCYTjGAZpDIP2M5l1/reApiZcwq 7pGzNeMt5gwc7R0snF3Bn0DFqdIwI4XX67wVY=
Hello,
I am running the example given at:
http://www.cgal.org/Manual/latest/examples/Surface_mesher/mesh_a_3d_gray_image.cpp
on my gray scale dataset. It produces proper surface triangulation most of the time but once in a while it seems it is recursively refining a particular part of the mesh so much that the output triangles are degenerate.
(I have attached a screen shot of the problem).
So my questions are:
- how do I avoid this ?
- is this related to type of kernel 'Surface_mesh_default_triangulation_3' is using ? (how can I change the kernel?)
- The example talks about 'relative precision' in these lines :
// definition of the surface, with 10^-5 as relative precision
Surface_3 surface(image, bounding_sphere, 1e-5);
What is it relative to ?
thanks in advance,
Hamid
Attachment:
Screen shot 2010-12-03 at 10.21.11 AM December 3.png
Description: PNG image
- [cgal-discuss] make_surface_mesh produces degenerate triangles, Hamid G, 12/03/2010
- Re: [cgal-discuss] make_surface_mesh produces degenerate triangles, Laurent Rineau (GeometryFactory), 12/03/2010
- Re: [cgal-discuss] make_surface_mesh produces degenerate triangles, Hamid G, 12/03/2010
- Re: [cgal-discuss] make_surface_mesh produces degenerate triangles, Laurent Rineau (GeometryFactory), 12/03/2010
Archive powered by MHonArc 2.6.16.