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

Method CompareOrderWithUncertainty

Rendering/Volume/vtkBlockSortHelper.h:94–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

SortFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected