| 96 | // order by increasing distance from left marg, and dist from top marg within that |
| 97 | |
| 98 | static bool IncreasingLeftMargin( // compare predicate for std::sort |
| 99 | const DetectorParameter& detpar1, // in |
| 100 | const DetectorParameter& detpar2) // in |
| 101 | { |
| 102 | return 1e5 * detpar2.x + detpar2.y > |
| 103 | 1e5 * detpar1.x + detpar1.y; |
| 104 | } |
| 105 | |
| 106 | // order by decreasing width, and dist from the left margin within that |
| 107 |
nothing calls this directly
no outgoing calls
no test coverage detected