Optimum Synthesis of Planar Mechanisms for Path Generation Based on a Combined Discrete Fourier Descriptor