Invariant surfaces of a three-dimensional manifold with constant gauss curvature