ITK  6.0.0
Insight Toolkit
Public Member Functions | List of all members
itk::Functor::CoLexicographicCompare Class Reference

#include <itkLexicographicCompare.h>

Detailed Description

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

Member Function Documentation

◆ operator()()

template<typename TBidirectionalRange1 , typename TBidirectionalRange2 >
bool itk::Functor::CoLexicographicCompare::operator() ( const TBidirectionalRange1 &  lhs,
const TBidirectionalRange2 &  rhs 
) const

Definition at line 75 of file itkLexicographicCompare.h.

The documentation for this class was generated from the following file: