[Olena-patches] 3241: Add closest_point_functor.