[vtkusers] vtkPointSet::GetPoint bug?
Francois Bertel
francois.bertel at kitware.com
Tue Aug 11 19:42:25 EDT 2009
Yes it works. It is just error-prone.
On Tue, Aug 11, 2009 at 7:27 PM, David Doria<daviddoria+vtk at gmail.com> wrote:
> 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
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
François Bertel, PhD | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
| Clifton Park NY 12065, USA
More information about the vtkusers
mailing list