Transform scan data in local coordinates to global coordinates