Mellin Analysis and its distance concept. Applications to sampling theory