Theory of constructing closed parametric curves based on manifolds