}
PlaLineInt result = translate_line.translate(translate_dist);
r_board.changed_area.join(curr_corner, curr_layer);
return result;
}
<BUG>private PlaLineInt smoothen_non_integer_corner(PlaLineInt[] p_line_arr, int p_no)
</BUG>
{
<BUG>PlaLineInt prev_line = p_line_arr[p_no];

PlaLineInt next_line = p_line_arr[p_no + 1];
</BUG>
if (prev_line.is_equal_or_opposite(next_line))

}
if (new_line == null) continue;
polyline_changed = true;
PlaLineIntAlist tmp_lines = new PlaLineIntAlist(line_arr.size() + 1);
line_arr.append_to(tmp_lines, 0, index + 1);
tmp_lines.add(new_line);
line_arr.append_to(tmp_lines, index + 2);
line_arr = tmp_lines;
++index;
}
}
if (polyline_changed)
