------------------------------------------------------------------------------
| 668 | |
| 669 | //------------------------------------------------------------------------------ |
| 670 | bool vtkFieldData::GetFiniteRange(const char* name, double range[2], int comp) |
| 671 | { |
| 672 | int index; |
| 673 | this->GetAbstractArray(name, index); |
| 674 | if (index == -1) |
| 675 | { |
| 676 | constexpr double NaN = std::numeric_limits<double>::quiet_NaN(); |
| 677 | range[0] = NaN; |
| 678 | range[1] = NaN; |
| 679 | return false; |
| 680 | } |
| 681 | return this->GetFiniteRange(index, range, comp); |
| 682 | } |
| 683 | |
| 684 | //------------------------------------------------------------------------------ |
| 685 | bool vtkFieldData::GetFiniteRange(int index, double range[2], int comp) |