Jump to content

How to get the speed at apoapsis from an Orbit?


Recommended Posts

Also, if you don't want to write it all out then you could just use:

double speed = orbit.getOrbitalSpeedAtDistance(orbit.ApR);

...which also just uses the vis-viva equation...

Edit: though you should check how that behaves when there is no Ap and a general check for a NaN return value would be a good idea too...

Edited by Padishar
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...