| 13 | } |
| 14 | |
| 15 | m2::PointD get_point(m2::RectD const & r, int ind) |
| 16 | { |
| 17 | switch (ind % 4) |
| 18 | { |
| 19 | case 0: return r.LeftBottom(); |
| 20 | case 1: return r.LeftTop(); |
| 21 | case 2: return r.RightTop(); |
| 22 | case 3: return r.RightBottom(); |
| 23 | default: ASSERT(false, ()); return m2::PointD(); |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | void make_section_longer(m2::PointD & p1, m2::PointD & p2, double sm) |
| 28 | { |
no test coverage detected