RAGS: Rational geometric splines for surfaces of arbitrary topology