• Sean McBride's avatar
    Replaced some uses of vtkMath::Round with STL rounding · 56bf715c
    Sean McBride authored
    vtkMath::Round converts double to int, as opposed to long.  Both can be lossy, but the former much more so.
    Replaced some uses with std::round(), some with std::lround().
    Eliminated the long->int truncation as much as possible, but kept it in many instances.
vtkAxis.cxx 57.2 KB