palavras-chave Geodesics Geometric smoothing splines Least squares Nonlinear constrained optimization