  In this paper we prove that any Riemannian surface, with no restriction of
curvature at all, can be decomposed into blocks belonging just to some of these
types: generalized Y-pieces, generalized funnels and halfplanes.
