libformfactor performs efficient computation of scattering form factors (Fourier shape transforms) of arbitrary polyhedra.