<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>This byte of code does not produce any
triangle.</FONT></DIV>
<DIV><FONT face=Arial size=2>any idea about what I did wrong?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>tmpPolyData is a vtkPolyData;</FONT></DIV>
<DIV><FONT face=Arial size=2>points coordinates range from </FONT></DIV>
<DIV><FONT face=Arial size=2>500000 to 1000000 in x and z,</FONT></DIV>
<DIV><FONT face=Arial size=2> -5000 to 5000 in y</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>//----------------------------------------------------------------------------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>cout <<"# points : "
<<tmpPolyData->GetNumberOfPoints() <<endl; //49587<BR>cout
<<"# polys : " <<tmpPolyData->GetNumberOfPolys()
<<endl; // 0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>vtkDelaunay2D *delaunay =
vtkDelaunay2D::New();<BR>delaunay->SetInput(tmpPolyData);<BR>delaunay->SetTolerance(0.001);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>cout <<"# points : "
<<delaunay->GetOutput()->GetNumberOfPoints() <<endl; //
0, expected 49587<BR>cout <<"# polys : "
<<delaunay->GetOutput()->GetNumberOfPolys()
<<endl; // 0, expected around 100 000<BR></FONT></DIV>
<DIV><FONT face=Arial
size=2>//------------------------------------------------------------------------------------------</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Sebastien MARAUX</FONT></DIV></BODY></HTML>