projects orientation to a fundamental region
Syntax
ori = project2FundamentalRegion(ori,rot_ref)% compute sym1, sym2 such that
% angle(inv(sym1) * mori * sym2, mori_ref) is minimum
[sym1, sym2] = project2FundamentalRegion(mori,mori_ref)Input
| ori | orientation |
| ori_ref | reference rotation |
Output
| ori | orientation |
| sym1, sym2 | rotation |