MantisBT - VTK
View Issue Details
0002911VTK(No Category)public2006-02-24 11:212016-08-12 09:54
maik 
Will Schroeder 
lowmajoralways
closedmoved 
 
 
0002911: vtkPoints precision
I've been noticing point coordinates are sometimes off by 1/8 of a foot or so. I looked in vtkPoints.cxx and noticed that the default data type is still "float".

I was under the impression that since 4.2, the vtk point representation was changed to double (since PolyData functions like GetBounds and GetPoint return double values)

It was pretty easy to change this in the vtkPoints constructor. I just wanted to bring this up and suggest that either that double should be the default representation or that the class documentation for vtkPoints and vtkPolyData should make it clear that the points only store single precision floats.
No tags attached.
Issue History
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036834
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036834)
Kitware Robot   
2016-08-12 09:54   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.