Spatial data analysis for laser scanning based shape error inspection