On the approximation power of generalized T-splines