Translation of line segments