Subject: CGAL users discussion list
List archive
- From: Stimpy <>
- To:
- Subject: [cgal-discuss] Alpha_shape_2: Bad Shapes
- Date: Tue, 11 Dec 2012 05:46:59 -0800 (PST)
Hi,
i'm new to CGAL and a little bit confused Hope someone can help me, that
were great.
I have installed CGAL on my CygWin and Linux Root - All is great. I build an
Alpha Shape of a Random Set of Points like this:
Alpha_shape_2 A(begin,end);
A.set_mode(Alpha_shape_2::REGULARIZED);
Alpha_iterator opt = A.find_optimal_alpha(1);
A.set_alpha(*opt);
for(Alpha_shape_edges_iterator it = A.alpha_shape_edges_begin();
it != A.alpha_shape_edges_end();
++it){
*out++ = A.segment(*it);
}
So, that is still great and it works. But sometimes the Alpha Shapes looks
little bit damaged like this:
<http://cgal-discuss.949826.n4.nabble.com/file/n4656379/alpha_failure.png>
Why this happening? In 20 trys that happends 2-3 times, the other 17-18 Pics
looks good.
Sorry for my bad english and thank you for the help.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Alpha-shape-2-Bad-Shapes-tp4656379.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- Re: [cgal-discuss] Alpha_shape_2: Bad Shapes, Sebastien Loriot (GeometryFactory), 12/11/2012
- [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- Re: [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Sebastien Loriot (GeometryFactory), 12/11/2012
- [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- Re: [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Sebastien Loriot (GeometryFactory), 12/12/2012
- [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- [cgal-discuss] Re: Alpha_shape_2: Bad Shapes, Stimpy, 12/11/2012
- Re: [cgal-discuss] Alpha_shape_2: Bad Shapes, Sebastien Loriot (GeometryFactory), 12/11/2012
Archive powered by MHonArc 2.6.18.