A universal inspection method for measuring the dimensions of various bogie frames