[vtkusers] vtkPointSet::GetPoint bug?
Sean McBride
sean at rogue-research.com
Wed Aug 12 13:36:51 EDT 2009
On 8/11/09 7:05 PM, Francois Bertel said:
>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.
Hear Hear!
>I just added some comment right now to this crapy method (rev 1.67 of
>VTK/Common/vtkPoints.h).
How about marking it with VTK_LEGACY? That way the compiler can warn
when someone does use it.
--
____________________________________________________________
Sean McBride, B. Eng sean at rogue-research.com
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
More information about the vtkusers
mailing list