ITK
6.0.0
Insight Toolkit
|
#include <itkLexicographicCompare.h>
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.
Public Member Functions | |
template<typename TBidirectionalRange1 , typename TBidirectionalRange2 > | |
bool | operator() (const TBidirectionalRange1 &lhs, const TBidirectionalRange2 &rhs) const |
|
inline |
Definition at line 75 of file itkLexicographicCompare.h.