<div class="gmail_quote">On Tue, Aug 11, 2009 at 7:05 PM, Francois Bertel <span dir="ltr">&lt;<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br>
<br>
This is just a very error-prone interface. Ironically, I ran into the<br>
same issue than you today.<br>
It actually returns the pointer of an internal temporary tuple.<br>
<br>
Just don&#39;t use it.<br>
<br>
I just added some comment right now to this crapy method (rev 1.67 of<br>
VTK/Common/vtkPoints.h).<br>
<br>
<a href="http://public.kitware.com/cgi-bin/viewcvs.cgi/Common/vtkPoints.h?r1=1.66&amp;r2=1.67" target="_blank">http://public.kitware.com/cgi-bin/viewcvs.cgi/Common/vtkPoints.h?r1=1.66&amp;r2=1.67</a><br>
<br>
Regards.<br>
<div><div></div><br></div></blockquote></div><br>Ok. Is there any reason not to remove the function entirely? Backwards compatibility should not be an issue as it doesn&#39;t work anyway!<br><br clear="all">Thanks,<br><br>
David<br>
<br><br>