Wavelet analysis and the geometry of Euclidean domains