Contour measurement system