A generalization of the equinoctial orbital elements