ENH: Consistent use of double precision pi in the toolkit.
For an analysis see: http://itk.org/Wiki/VTK/VTK6/Migration/DoublePrecisionPi 1) vtkMath::Pi now returns double. 2) vtkMath::TwoPi() is replaced with 2.0 * vtkMath::Pi(). 2) Remove vtkMath::DoublePi and vtkMath::DoubleTwoPi and mark them as deprecated. 3) Replace explicit use of 3.1415... and 6.28... with the vtkMath constants. Change-Id: Ibc947ac4c16811294c0cc0cafd593834244d2925
Showing with 118 additions and 97 deletions