A finite-difference time-domain (FDTD) scheme in Cartesian coordinate system is developed to analyze the guided-wave properties of a class of two-dimensional (2D) photonic crystals formed by square or triangular arrays of metal posts. With the applic