Improve this sentence. Maybe something like "If the tolerance intersects several segments, the returned vertex is the closest and the first one."