Dilation of line segment