Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Stack overflow in Alpha_shape_2

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Stack overflow in Alpha_shape_2


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Stack overflow in Alpha_shape_2
  • Date: Wed, 25 May 2011 11:07:01 +0200
  • Organization: GeometryFactory

On mercredi 25 mai 2011 09:06:04 Francois Berenger wrote:
> Marc Glisse wrote:
> > On Tue, 24 May 2011, gisworx wrote:
> >> With one particular dataset, I'm encountering a stack overflow in lazy
> >> evaluation within the alpha shape constructor.
>
> Maybe a stupid comment:
> there may be some recursive function being used but it is not tail
> recursive so the compiler could not rewrite it as a loop and
> then it blows the stack on some large data sets.
>
> However, I don't even know if there is any recursive function in CGAL... :)

We try to avoid them. There have been some work done in Triangulation_2 and
Triangulation_3, during the last two releases, because there was recursive
functions to compute the conflict zone of new point, and we removed those
recursions.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page