Forward declare piecewise class in minimum_distance_curve.