Q/FR: Snap a shape segement to another one, from edge to edge with scaling and rotation