Piecewise linear curve