Snap Rounding of line segment in 2D.

