interpolate function

List<Point<num>> interpolate(
  1. List<Point<num>> start,
  2. List<Point<num>> stop,
  3. num t,
  4. {bool closed = true}
)

Interpolates from start to stop with the interpolation parameter t.

Implementation

List<Point> interpolate(List<Point> start, List<Point> stop, num t,
    {bool closed = true}) {
  t = _normalize_parameter(t);
  return interpolator(start, stop, closed: closed)(t);
}