I’m surprised no one has mentioned Orthogonal Procrustes problem - Wikipedia
with a julia blog post here Page Redirection
Another related post on the topic, although quite old at this point
Calculating rigid transformation between two point set
I’m surprised no one has mentioned Orthogonal Procrustes problem - Wikipedia
with a julia blog post here Page Redirection
Another related post on the topic, although quite old at this point
Calculating rigid transformation between two point set