Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Why my volumes of convex hull and alpha shape are almost the same?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Why my volumes of convex hull and alpha shape are almost the same?


Chronological Thread 
  • From: evantong623 <>
  • To:
  • Subject: Re: [cgal-discuss] Why my volumes of convex hull and alpha shape are almost the same?
  • Date: Tue, 24 Sep 2013 22:26:35 -0700 (PDT)

Thank you so much!
You are right. I should make sure the exterior cell are not included in
calculating the alpha shape volume. So my program ends up to be:
......
for(Alpha_shape_3::Finite_cells_iterator it = as.finite_cells_begin(); it !=
as.finite_cells_end(); it++)
{
if(as.classify(it)==Alpha_shape_3::INTERIOR)
{
Tetrahedron_3 tetr = as.tetrahedron(it);
alpha_volume += tetr.volume();
}
}
......
Also thanks to Mariette, even I did not find a way to test the
"alpha_spectrum".



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Why-my-volumes-of-convex-hull-and-alpha-shape-are-almost-the-same-tp4658070p4658076.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page