Definition at line 304 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 307 of file CornerFinderAlg.cxx.
309 int mid = (
b-
a)/2 +
a;
310 if(i>=
a && i<=b && j>=
a && j<=
b)
311 return std::abs(mid-i)<std::abs(mid-j);
313 else if(j>=
a && j<=
b && (i<a || i>
b) )
316 else if(i>=
a && i<=b && (j<a || j>b) )
The documentation for this struct was generated from the following file:
- /cvmfs/larsoft.opensciencegrid.org/products/larreco/v07_10_02/source/larreco/RecoAlg/CornerFinderAlg.cxx