MantisBT - VTK
View Issue Details
0012973VTK(No Category)public2012-03-01 11:572012-09-02 09:48
David Gobbi 
David Gobbi 
normalminorhave not tried
closedfixed 
5.8 
 
Release
incorrect functionality
0012973: The vtkMath::Pi() method should return double, not float, in VTK 6.0.
I found 62 classes that call vtkMath::Pi(). Only one of them,
vtkExodusReader, seemed to have a reason for using a single-precision
value. The others should be taking advantage of the extra precision of a double-precision Pi value, but for some reason they aren't calling vtkMath::DoublePi().

Rather than change all these classes so that they call vtkMath::DoublePi(), it makes more sense for vtkMath::Pi() to return a double, and to deprecate vtkMath::DoublePi(). Considering how close VTK 5.10 is to release, it is probably best if this change is delayed until VTK 6.0.
No tags attached.
Issue History
2012-03-01 11:57David GobbiNew Issue
2012-03-01 11:57David GobbiStatusbacklog => tabled
2012-03-01 11:57David GobbiAssigned To => David Gobbi
2012-09-02 09:48David GobbiNote Added: 0029104
2012-09-02 09:48David GobbiStatustabled => closed
2012-09-02 09:48David GobbiResolutionopen => fixed

Notes
(0029104)
David Gobbi   
2012-09-02 09:48   
Fixed by Bill, will be in VTK 6.