check for valid bounds before computing the magnitude of the bounds
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Depending on how the application is linked, the following in vtkSMBoundsDomain may or may not throw an exception when the bounds are initialized to not set (i.e. VTK_DOUBLE_MAX, VTK_DOUBLE_MIN,...): double magn = sqrt((bounds[1]-bounds[0]) * (bounds[1]-bounds[0]) + (bounds[3]-bounds[2]) * (bounds[3]-bounds[2]) + (bounds[5]-bounds[4]) * (bounds[5]-bounds[4]));