------------------------------------------------------------------------------
| 646 | |
| 647 | //------------------------------------------------------------------------------ |
| 648 | bool 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 | //------------------------------------------------------------------------------ |
| 663 | bool vtkFieldData::GetRange(int index, double range[2], int comp) |