[vtkusers] vtkPointSet::GetPoint bug?

David Doria daviddoria+vtk at gmail.com
Tue Aug 11 19:27:34 EDT 2009


On Tue, Aug 11, 2009 at 7:05 PM, Francois Bertel <
francois.bertel at kitware.com> wrote:

> Hello,
>
> This is just a very error-prone interface. Ironically, I ran into the
> same issue than you today.
> It actually returns the pointer of an internal temporary tuple.
>
> Just don't use it.
>
> I just added some comment right now to this crapy method (rev 1.67 of
> VTK/Common/vtkPoints.h).
>
>
> http://public.kitware.com/cgi-bin/viewcvs.cgi/Common/vtkPoints.h?r1=1.66&r2=1.67
>
> Regards.
>
>
Ok. Is there any reason not to remove the function entirely? Backwards
compatibility should not be an issue as it doesn't work anyway!

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090811/e52acca7/attachment.htm>


More information about the vtkusers mailing list