}
prev_translated_line = new_line;
for (int index = 0; index < corners_skipped_after; ++index)
{
int next_line_no = p_start_no + 3 + corners_skipped_after;
<BUG>PlaPointFloat curr_next_corner = prev_translated_line.intersection_approx(curr_lines[next_line_no]);
</BUG>
if ( curr_next_corner.is_NaN() ) return null;
<BUG>PlaLineInt curr_translate_line = p_line_arr[p_start_no + 3 + index];
</BUG>
double curr_translate_dist = curr_translate_line.distance_signed(curr_next_corner);

}
prev_translated_line = new_line;
for (int index = 0; index < corners_skipped_after; ++index)
{
int next_line_no = p_start_no + 3 + corners_skipped_after;
PlaPointFloat curr_next_corner = prev_translated_line.intersection_approx(curr_lines.get(next_line_no));
if ( curr_next_corner.is_NaN() ) return null;
PlaLineInt curr_translate_line = p_line_arr.get(p_start_no + 3 + index);
double curr_translate_dist = curr_translate_line.distance_signed(curr_next_corner);
