args: track1, track2, dist - Tests if the closest point of approach of two trajectoriesis within the specified distance.