| 387 | //------------------------------------------------------------------------------ |
| 388 | |
| 389 | Position GetPosition(const IntPoint pt1, const IntPoint pt2, const IntPoint pt) |
| 390 | { |
| 391 | if (PointsEqual(pt1, pt)) return pFirst; |
| 392 | else if (PointsEqual(pt2, pt)) return pSecond; |
| 393 | else return pMiddle; |
| 394 | } |
| 395 | //------------------------------------------------------------------------------ |
| 396 | |
| 397 | bool Pt3IsBetweenPt1AndPt2(const IntPoint pt1, |
no test coverage detected