| 152 | } |
| 153 | |
| 154 | Position EstimatePosition(const Pair& first, const Pair& last) |
| 155 | { |
| 156 | if (!IsStacked(first, last)) |
| 157 | return Line((first.y + last.y) / 2, first.xStart, last.xStop); |
| 158 | else |
| 159 | return Position{{first.xStart, first.y}, {first.xStop, first.y}, {last.xStop, last.y}, {last.xStart, last.y}}; |
| 160 | } |
| 161 | |
| 162 | int EstimateLineCount(const Pair& first, const Pair& last) |
| 163 | { |
no test coverage detected