Public Member Functions | Public Attributes | List of all members
compare_to_value Struct Reference

Public Member Functions

 compare_to_value (int b)
 
bool operator() (int i, int j)
 

Public Attributes

int b
 

Detailed Description

Definition at line 217 of file CornerFinderAlg.cxx.

Constructor & Destructor Documentation

compare_to_value::compare_to_value ( int  b)
inline

Definition at line 219 of file CornerFinderAlg.cxx.

219 {this->b = b;}

Member Function Documentation

bool compare_to_value::operator() ( int  i,
int  j 
)
inline

Definition at line 220 of file CornerFinderAlg.cxx.

220  {
221  return std::abs(b-i)<std::abs(b-j);
222  }
T abs(T value)

Member Data Documentation

int compare_to_value::b

Definition at line 224 of file CornerFinderAlg.cxx.


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