2d line segment