Generalized B-splines as a tool in isogeometric analysis