Scanning strategy of edge corners in gear outline measurement