Computing closest and farthest points for a query segment. - Michael Segal 001; Eli Zeitlin (Theor. Comput. Sci., 2008)