View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012973VTK(No Category)public2012-03-01 11:572012-09-02 09:48
ReporterDavid Gobbi 
Assigned ToDavid Gobbi 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.8 
Target VersionFixed in Version 
Summary0012973: The vtkMath::Pi() method should return double, not float, in VTK 6.0.
DescriptionI 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.
TagsNo tags attached.
ProjectRelease
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0029104)
David Gobbi (developer)
2012-09-02 09:48

Fixed by Bill, will be in VTK 6.

 Issue History
Date Modified Username Field Change
2012-03-01 11:57 David Gobbi New Issue
2012-03-01 11:57 David Gobbi Status backlog => tabled
2012-03-01 11:57 David Gobbi Assigned To => David Gobbi
2012-09-02 09:48 David Gobbi Note Added: 0029104
2012-09-02 09:48 David Gobbi Status tabled => closed
2012-09-02 09:48 David Gobbi Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team