Geometric applications of fourier series and spherical harmonics