Roman Shapovalov 74bbd6fd76 Fix returning a proper rotation in levelling; supporting batches and default centroid
Summary:
`get_rotation_to_best_fit_xy` is useful to expose externally, however there was a bug (which we probably did not care about for our use case): it could return a rotation matrix with det(R) == −1.
The diff fixes that, and also makes centroid optional (it can be computed from points).

Reviewed By: bottler

Differential Revision: D39926791

fbshipit-source-id: 5120c7892815b829f3ddcc23e93d4a5ec0ca0013
2022-09-29 11:56:14 -07:00
..
2022-03-21 13:20:10 -07:00
2022-07-21 15:04:00 -07:00
2022-07-22 15:52:50 -07:00
2022-08-01 01:52:12 -07:00
2022-07-21 15:04:00 -07:00
2022-08-26 08:47:30 -07:00
2022-05-25 06:16:03 -07:00
2022-06-10 12:22:46 -07:00
2022-05-25 06:16:03 -07:00
2022-06-28 16:11:49 -07:00
2022-05-12 12:50:03 -07:00