[vtkusers] Infinite recursion in vtkDelaunay2D::CheckEdge
Kenneth Porter
shiva at sewingwitch.com
Tue Jan 26 10:57:57 EST 2010
--On Monday, January 25, 2010 10:33 AM -0800 Kenneth Porter
<shiva at sewingwitch.com> wrote:
> I'm converting a point cloud to a surface with vtkDelaunay2D and one of
> my data sets is throwing a Stack Overflow due to runaway recursion in
> CheckEdge. Is this a known bug? I'm not real familiar with the algorithm
> so I don't know what the termination condition should look like. What
> should be the maximum depth of the stack for a given data set size?
It turned out that I was misinterpreting my raw data, and had a zero X
coordinate at all positions, leading to the point cloud just being a line.
Shouldn't the Delaunay2D filter catch singularities like this and throw an
exception?
More information about the vtkusers
mailing list