Constructor and Description |
---|
Kepler() |
Modifier and Type | Method and Description |
---|---|
static double |
CalculatePeriod(double GM,
double[] r,
double[] v)
calculate oculating orbital period of a eliptical orbit from position and velocity
|
public Kepler()
public static double CalculatePeriod(double GM, double[] r, double[] v)
GM
- Gravitational coefficient (gravitational constant * mass of central body)r
- State vector (x,y,z)v
- State vector (vx,vy,vz)