public static double getMaxLength ( double [ ] widths , double [ ] heights ) { double maxWidth = getMaxLength ( widths ) ; double maxHeight = getMaxLength ( heights ) ; double maxLength = Math . min ( maxWidth , maxHeight ) ; return maxLength ; }
Get the max distance length that matches the tile widths and heights