Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Alpha Shapes: How to collect all the faces in Alpha Shapes?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Alpha Shapes: How to collect all the faces in Alpha Shapes?


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Alpha Shapes: How to collect all the faces in Alpha Shapes?
  • Date: Wed, 19 Oct 2011 08:08:02 -0700

On 10/19/2011 12:13 AM, Graviton wrote:
list<Alpha_shape_2::Classification_type> &classType, double alphaLevel)
{

classType.clear();
Face_iterator fit;
for(fit=A->finite_faces_begin(); fit!=A->finite_faces_end(); ++fit)
{


Alpha_shape_2::Classification_type classType2 =
A->classify(fit);

classType.push_back((AlphaShapeClassificationType)classType2);
}


}
In this function, you are not using alphaLevel...
You are missing A->set_alpha(alphaLevel);

Sebastien.



Archive powered by MHonArc 2.6.16.

Top of Page