def scale_x(las_file, point):
    """ Calculate scaled value of x for point record """
    _px = point.X
    scale = las_file.header.scale[0]
    offset = las_file.header.offset[0]
    return _px*scale+offset