orientation.angle edit page

calculates rotational angle between orientations

Description

For misorientations with grain exchange symmetry, i.e. o1.antipodal or o2.antipodal is true, the two argument syntax returns the smaller of the distances to o2 and to inv(o2). There is no 'antipodal' option, the flag is taken from the arguments. The single argument syntax is not affected, as angle(o) == angle(inv(o)) anyway.

Syntax

omega = angle(o)
omega = angle(o,'noSymmetry') % ignore symmetry equivalents
omega = angle(o1,o2)

Input

o1, o2 orientation

Output

o1 x o2 angle (double)

Options

noSymmetry do ignore symmetry
noSym1, noSym2 do ignore only left or right symmetry
max return the maximum rotational angle from all symmetrically equivalent