MCPcopy Create free account
hub / github.com/Kitware/VTK / UpdateBB

Function UpdateBB

Filters/ParallelFlowPaths/vtkPStreamTracer.cxx:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188}
189
190inline void UpdateBB(double* a, const double* b)
191{
192 for (int i = 0; i <= 4; i += 2)
193 {
194 a[i] = std::min(a[i], b[i]);
195 }
196 for (int i = 1; i <= 5; i += 2)
197 {
198 a[i] = std::max(a[i], b[i]);
199 }
200}
201}
202
203//------------------------------------------------------------------------------

Callers 1

InitializeMethod · 0.85

Calls 2

minFunction · 0.50
maxFunction · 0.50

Tested by

no test coverage detected