| 17 | namespace stasm |
| 18 | { |
| 19 | static int TabPoint( // return first used point in tab, -1 if none |
| 20 | const int* tab, // in |
| 21 | int ntab, // in |
| 22 | const Shape& shape) // in |
| 23 | { |
| 24 | for (int i = 0; i < ntab; i++) |
| 25 | if (PointUsed(shape, tab[i])) |
| 26 | return tab[i]; // note return |
| 27 | |
| 28 | return -1; |
| 29 | } |
| 30 | |
| 31 | static double CanonicalEyeMouthDist( // return 0 if pupils and mouth not avail |
| 32 | const Shape& shape17) // in |
no test coverage detected