Definition at line 230 of file CornerFinderAlg.cxx.
compare_to_range::compare_to_range |
( |
int |
a, |
|
|
int |
b |
|
) |
| |
|
inline |
bool compare_to_range::operator() |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
|
inline |
Definition at line 237 of file CornerFinderAlg.cxx.
References util::abs().
240 int mid = (
b -
a) / 2 +
a;
241 if (i >=
a && i <= b && j >=
a && j <=
b)
244 else if (j >=
a && j <=
b && (i < a || i >
b))
247 else if (i >=
a && i <= b && (j < a || j > b))
constexpr auto abs(T v)
Returns the absolute value of the argument.
The documentation for this struct was generated from the following file: