Frequency-Domain Edge Diffraction for Finite and Infinite Edges