An interplanetary flight in which the gravitational attraction of a planet is used to provide acceleration and a change in course.