The method of adjacent relation judgment and automatic direction adjustment of contour