Returns the timestamps at which the segments of the two temporal points are within the given distance.