Fix NaN values replaced with float_min
The function RoundDoubleToIntegralIfNecessary
does not handle NaN values correctly and replaces them with float_min due to the call to vtkMath::Max().
This patch fixes issue #17159 (closed)
Edited by Federico Miorelli