Geometrically continuous splines for surfaces of arbitrary topology