def line_displaced(start_coord, end_coord, displacements):
    '''Returns a Path defined as a line spanning points `start_coord` and
    `end_coord`, displaced by scalars `displacements`.
    The number of points in the path is determined by the lenght of
    `displacements`.
    '''
    p = path([start_coord, end_coord])
    perpendicular_displace(p, displacements)
    return p