Subject: CGAL users discussion list
List archive
- 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)In this function, you are not using 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);
}
}
You are missing A->set_alpha(alphaLevel);
Sebastien.
- [cgal-discuss] Alpha Shapes: How to collect all the faces in Alpha Shapes?, Graviton, 10/19/2011
- Re: [cgal-discuss] Alpha Shapes: How to collect all the faces in Alpha Shapes?, Sebastien Loriot (GeometryFactory), 10/19/2011
Archive powered by MHonArc 2.6.16.