add the basic method which use spline function parameter t