When using formulas that describe a 2d orbit around a planetary body:
- is it actually OK for the semi-major axis $a$ to be negative?
- when $a$ is negative, it is impossible to compute mean anomaly from time, so what is the equivalent of mean anomaly for parabolic or hyperbolic orbits, assuming that $a$ can be negative?