Development of a feature-recognition and measurement path generation system based on NURBS surfaces for 5-axis on-machine measurement