The asymptotic distribution of lattice points in Euclidean and non-Euclidean spaces