A profile-monitoring method for quality control of manufactured items