Distance Metrics on the Rigid-Body Motions with Applications to Mechanism Design | Synapse