<!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>forgot ->update(), sorry</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I thought it was called by GetOutput()</FONT></DIV>
<DIV><FONT face=Arial size=2>when required.</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=maraux@ondim.fr href="mailto:maraux@ondim.fr">Sebastien_MARAUX</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:vtkusers@public.kitware.com">vtk mailing list</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 24, 2002 2:57 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] delaunay2D
issue</DIV>
<DIV><BR></DIV>
<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></BLOCKQUOTE></BODY></HTML>