Skip to content
  • Will Schroeder's avatar
    ComputeBounds() supports std::atomic<> · e95d2c11
    Will Schroeder authored
    Thread-safety was addressed by templating vtkBoundingBox::ComputeBounds()
    so that a std::atomic<> point uses flag could be used. Added serial/threaded
    crossover for computing bounds. For relatively small numbers of points,
    serial computation of the bounding box is faster than threaded computation.
    A fast path was added to switch between serial and threaded processing.
    e95d2c11