An Analytic Closed-form Solution for Trajectory Generation on a Path along an Arc of a Circle