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

Function GetMax

Common/DataModel/vtkPointLocator.cxx:488–498  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

486
487//------------------------------------------------------------------------------
488static double GetMax(const double foo[8])
489{
490 double result = foo[0];
491 int i;
492
493 for (i = 1; i < 8; i++)
494 {
495 result = std::max(foo[i], result);
496 }
497 return result;
498}
499
500//------------------------------------------------------------------------------
501void vtkPointLocator::FindDistributedPoints(int N, const double x[3], vtkIdList* result, int M)

Callers 1

FindDistributedPointsMethod · 0.85

Calls 1

maxFunction · 0.50

Tested by

no test coverage detected