Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] not desired results with alpha_shape_3
- Date: Wed, 16 Nov 2011 17:47:39 +0100
find_optimal_alpha give you the smallest alpha such that the
alpha complex is solid. This does not mean that it will
return the surface you are expecting. In particular the reconstructed
surface can have a high genus (which seems to be your case). You can
increase the value of alpha and see what you get.
You can play with the Alpha_shape_3 demo which has a slider bar
to see if you can get a result that fits your need.
The file format read is:
n
x1 y1 z1
...
xn yn zn
Sebastien.
Juan Carlos Lopez Alfonso wrote:
Hi all:
I have an input set of points which is a close contours in parallel planes:
http://dl.dropbox.com/u/2516160/image2.png
http://dl.dropbox.com/u/2516160/PTV_all.txt
Why when I use the alpha shape class I obtain something like this:
http://dl.dropbox.com/u/2516160/image3.png
when I want that the shape of the 3d-triangulation contour adjusts the shape of my set of points.
This is my code:
http://dl.dropbox.com/u/2516160/main.txt
Best regards
Juan Carlos
- [cgal-discuss] not desired results with alpha_shape_3, Juan Carlos Lopez Alfonso, 11/16/2011
- Re: [cgal-discuss] not desired results with alpha_shape_3, Sebastien Loriot (GeometryFactory), 11/16/2011
Archive powered by MHonArc 2.6.16.