smooth static method
Creates a sampled curve going through list of points.
sampleCount
is a number of points of the resulting smoothed curve
Returns a list of length sampleCount
points that lay on a curve going through the given points.
Implementation
static List<Point<num>> smooth(
List<Point> points,
num sampleCount, {
bool isSorted = true,
}) {
return points.smooth(sampleCount, isSorted: isSorted);
}