ITK
5.2.0
Insight Toolkit
|
#include <itkLexicographicCompare.h>
Public Member Functions | |
template<typename TBidirectionalRange1 , typename TBidirectionalRange2 > | |
bool | operator() (const TBidirectionalRange1 &lhs, const TBidirectionalRange2 &rhs) const |
Checks if one range of elements colexicographically comes before another one.
This is a comparison functor suitable for storing Index and Offset instances in an STL container, and to check if those instances are in colexicographic ("Colex") order. The ordering is total and unique and typically (for example with Image<int,3>) correspond to the order in which the pixels, referred to by the Index or Offset instances, are stored in the image buffer.
Definition at line 67 of file itkLexicographicCompare.h.
|
inline |
Definition at line 75 of file itkLexicographicCompare.h.