A rigidity approach to find distinct mechanisms of a planar kinematic chain. (2021)