Sharp edges to neutral hydrogen disks in galaxies and the extragalactic radiation field