Analysis and Application of the Bi-directional Scatter Distribution Function of Photonic Crystals