Conversion between various fly-by parameters (hyperbolic orbits)
[par_out1, par_out2, ...] = CL_ip_flybyParams(type_par1, par1, type_par2, par2, output [, mu])
Given two fly-by parameters, the function computes other ones.
The available fly-by parameters are:
- vinf: hyperbolic excess velocity
- rp: Radius at periapsis
- dinf: Impact parameter = distance from the body center to the asymptote of the hyperbola
- turnang: Fly-by turn-angle = angle between arrival departure excess velocity vectors
- vp: Velocity at periapsis
- dv: Norm of velocity increment
Note:
In the current version:
- The 1st input parameter must be "vinf"
- The 2nd input parameter must be "rp", "dinf" or "turnang"
(string) Type of 1st input parameter. Only "vinf" accepted. (1x1)
Value of 1st input parameter [m, m/s, rad]. (1xN or 1x1)
(string) Type of 2nd input parameter: "rp", "dinf" or "turnang". (1x1)
Value of 2nd input parameter [m, m/s, rad]. (1xN or 1x1)
(string) Names of the desired output parameters: "vinf", "rp", "dinf", "turnang", "vp" or "dv". (1xP)
(optional) Gravitational constant [m^3/s^2]. Default value is %CL_mu.
Values of the output parameters [m, m/s, rad]. (1xN)
CNES - DCT/SB
H.D. Curtis, Orbital Mechanics for Engineering Students, ch. 8.