[intersection] fix segments_intersection_ratios
adding the new one_degenerate method
fixed comment