src/bvhtoolbox/bvhtransforms.py
def _get_reordered_indices(rotation_order):
    """Returns indices for converting 'xyz' rotation order to given rotation order.
    
    :param rotation_order: Rotation order to convert to.
    :type rotation_order: str
    :return: Indices for getting from xyz to given axes rotation order.
    :rtype: tuple
    """
    try:
        firstaxis, parity = _AXES2TUPLE[rotation_order]
    except KeyError:
        print("Rotation order must be one of {}.".format(', '.join(_AXES2TUPLE.keys())))
        raise
    i = firstaxis
    j = _NEXT_AXIS[i + parity]
    k = _NEXT_AXIS[i - parity + 1]
    return i, j, k
Returns indices for converting 'xyz' rotation order to given rotation order.
    
    :param rotation_order: Rotation order to convert to.
    :type rotation_order: str
    :return: Indices for getting from xyz to given axes rotation order.
    :rtype: tuple
    
Returns indices for converting 'xyz' rotation order to given rotation order.
Returns indices for converting ' xyz ' rotation order to given rotation order .
def _get_reordered_indices(rotation_order):
    try:
        firstaxis, parity = _AXES2TUPLE[rotation_order]
    except KeyError:
        print("Rotation order must be one of {}.".format(', '.join(_AXES2TUPLE.keys())))
        raise
    i = firstaxis
    j = _NEXT_AXIS[i + parity]
    k = _NEXT_AXIS[i - parity + 1]
    return i, j, k
def _get_reordered_indices ( rotation_order ) : try : firstaxis , parity = _AXES2TUPLE [ rotation_order ] except KeyError : print ( "Rotation order must be one of {}." . format ( ', ' . join ( _AXES2TUPLE . keys ( ) ) ) ) raise i = firstaxis j = _NEXT_AXIS [ i + parity ] k = _NEXT_AXIS [ i - parity + 1 ] return i , j , k
Returns indices for converting 'xyz' rotation order to given rotation order.
Returns indices for converting ' xyz ' rotation order to given rotation order .
"""Returns indices for converting 'xyz' rotation order to given rotation order.
    
    :param rotation_order: Rotation order to convert to.
    :type rotation_order: str
    :return: Indices for getting from xyz to given axes rotation order.
    :rtype: tuple
    """
Indices for getting from xyz to given axes rotation order.
Indices for getting from xyz to given axes rotation order .
tuple
rotation_order
Rotation order to convert to.
Rotation order to convert to .