It applies a spline function to the parameter curve and looks for positions with zero slope of that function.