Analysis of the Structure of Quasicrystals