Laser scanning for shape measurament