Periodicity is usually assumed to be the necessary and sufficient condition for formation of band gaps, i.e., energy bands with a suppressed density states. Here, we check this premise by analyzing gap properties three structures that differ in degree periodicity ordering. We consider photonic crystal, disordered lattice, ordered but nonperiodic quasicrystalline structure. A real-space metric a...