def transformArrYXToXY(arrYX):
    """    transformArrYXToXY(arrYX)

    Getting a array of positions invert order.
    
    Parameters
    ----------
    arrYX : Array
    List of positions to invert
    
    Returns
    -------
    List
    Returns list with all coordinates inverted inside 
    a tuple.
    """    
    points = []
    for point in arrYX:
        points.append(tuple([point[1], point[0]]))
    return points