Find the closest vertex for the manually selected constraint points.