| 92 | // 1 if second is farther than first |
| 93 | template <typename TT> |
| 94 | int CompareOrderWithUncertainty(TT& first, TT& second) |
| 95 | { |
| 96 | double abounds[6], bbounds[6]; |
| 97 | vtkBlockSortHelper::GetBounds<TT>(first, abounds); |
| 98 | vtkBlockSortHelper::GetBounds<TT>(second, bbounds); |
| 99 | return CompareBoundsOrderWithUncertainty(abounds, bbounds); |
| 100 | } |
| 101 | |
| 102 | // -1 if first is closer than second |
| 103 | // 0 if unknown |