if (!(prev_line.is_diagonal() && next_line.is_diagonal()))
{
return null;
}
PlaPointFloat curr_corner = prev_line.intersection_approx(next_line);
<BUG>PlaPointFloat prev_corner = prev_line.intersection_approx(p_line_arr[p_no - 1]);

PlaPointFloat next_corner = next_line.intersection_approx(p_line_arr[p_no + 2]);
</BUG>
PlaLineInt result = null;

if (!(prev_line.is_diagonal() && next_line.is_diagonal()))
{
return null;
}
PlaPointFloat curr_corner = prev_line.intersection_approx(next_line);
PlaPointFloat prev_corner = prev_line.intersection_approx(p_line_arr.get(p_no - 1));
PlaPointFloat next_corner = next_line.intersection_approx(p_line_arr.get(p_no + 2));
PlaLineInt result = null;
