Cross-sections for planetary systems interacting with passing stars and binaries