Calculate the scale, rotation, and translation needed to transform one configuration into another.
Value
A list with three elements:
scale: Numeric. Scale factor.rotation: Numeric. Rotation angle in radians.translation: Numeric vector of length 2. Translation (dx, dy).
Details
Calculates transformation based on the furthest pair of points in the source configuration. Finds the corresponding pair in the target and extracts:
Scale: ratio of distances between furthest points
Rotation: angle difference between the two vectors
Translation: shift after scaling and rotation
Both configurations must have the same number of points.
