Possibilities of using three-dimensional optical scanning in complex geometrical inspection