Spline functions in problems of structural mechanics