Interpolates between a and b.
Definition at line 782 of file piecewise.h.
References Geom::Piecewise< T >::cuts, Geom::Piecewise< T >::domain(), partition(), and Geom::Piecewise< T >::setDomain().
// Make sure both paths have the same number of segments and cuts at the same locations
Piecewise<T> pA = partition(a, b.cuts);
Piecewise<T> pB = partition(b, a.cuts);
return (pA*(1-t) + pB*t);