triqs.gf.plot.select_indices.closest_to

triqs.gf.plot.select_indices.closest_to(A, B, L, verbose=False)[source]

returns list of indices of the points in list L (or mesh!) that are closest to the oriented line A->B