A comprehensive study of thermal damage consequent to laser surface treatment