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

Method GetRange

Common/DataModel/vtkFieldData.cxx:648–660  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

646
647//------------------------------------------------------------------------------
648bool vtkFieldData::GetRange(const char* name, double range[2], int comp)
649{
650 int index;
651 this->GetAbstractArray(name, index);
652 if (index == -1)
653 {
654 constexpr double NaN = std::numeric_limits<double>::quiet_NaN();
655 range[0] = NaN;
656 range[1] = NaN;
657 return false;
658 }
659 return this->GetRange(index, range, comp);
660}
661
662//------------------------------------------------------------------------------
663bool vtkFieldData::GetRange(int index, double range[2], int comp)

Calls 2

GetAbstractArrayMethod · 0.95
GetRangeImplFunction · 0.85

Tested by 4

TestGhostAwareRangeFunction · 0.36
TestFunction · 0.36
TestSmoothErrorMetricFunction · 0.36