def RotateCoordinates( coordinates, t, u ):
    """rotates a set of coordinates.
    """

    rotated_coordinates = []

    for x, y, z in coordinates:
        v = numpy.dot( numpy.array( (x, y, z), numpy.float), u) - t
        rotated_coordinates.append( (v[0], v[1], v[2]) )

    return rotated_coordinates
dataset/ETHPy150Open CGATOxford/cgat/legacy/PdbTools.py/RotateCoordinates/operator `+` -> `-`