Quasicrystals and geometry