<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>Dear vtkusers,</div>

<div> </div>

<div>I encounter a problem using the vtkDelaunay3d Algorithm.</div>

<div>What I am doing is quite simple. I want to obtain the convex Hull of several 3D points. I followed this example: http://www.itk.org/Wiki/VTK/Examples/Boneyard/Cxx/PolyData/ConvexHullDelaunay3D</div>

<div> </div>

<div>I add the points to a vtkPolyData object, and then use vtkDelaunay3d to compute the convex Hull.</div>

<div>But when I do so, it returns the error:
<div>Unhandled exception at 0x05c6a084 in GUIWindowApplication.exe: 0xC0000094: Integer division by zero.</div>
</div>

<div> </div>

<div>  vtkSmartPointer<vtkPolyData> delaunayPolyData =  vtkSmartPointer< vtkPolyData>::New();</div>

<div> </div>

<div> delaunayPolyData->SetPoints(somePoints);   // somePoints is a vtkSmartPointer<vtkPoints></div>

<div> </div>

<div>  vtkSmartPointer<vtkDelaunay3D> delaunay = vtkSmartPointer< vtkDelaunay3D >::New();<br/>
  delaunay->SetInput(delaunayPolyData);<br/>
  delaunay->Update();</div>

<div> </div>

<div> </div>

<div>Do i have to change some settings in the beginning? Does anybody know where this error comes from?</div>

<div>I mean, integer division by zero should be handeld by the vtkDelaunay3D algorithm, right?</div>

<div> </div>

<div>Thank you a lot!</div>

<div>Susi</div></div></body></html>