/Engine/Plugins/Animation/IKRig/Source/IKRig/Public/Rig/Solvers/PointsToRotation.h
Given a set of points in an initial configuration and the same set of points in a deformed configuration, this function outputs a quaternion that represents the "best fit" rotation that rotates the initial points to the current points.
static FQuat GetRotationFromDeformedPoints ( const [TArray](API\Runtime\Core\Containers\TArray)< FVector > & InInitialPoints, const [TArray](API\Runtime\Core\Containers\TArray)< FVector > & InCurrentPoints, FVector & OutInitialCentroid, FVector & OutCurrentCentroid )