|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.math.orbit.OrbitFactory
public class OrbitFactory
Provides a factory for orbit instances.
Method Summary | |
---|---|
IOrbit |
create(double mu,
double a,
double ecc,
double i,
double omega,
double w,
double trueAnomaly0)
Return an orbit instance for the given parameters. |
IOrbit |
create(double mu,
double a,
double ecc,
double i,
double omega,
double w,
double trueAnomaly0,
double t0)
Return an orbit instance for the given parameters. |
IOrbit |
create(double mu,
Vector r0,
Vector v0,
double t0)
Return an orbit instance for the given parameters. |
static OrbitFactory |
getInstance()
Return the singleton instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OrbitFactory getInstance()
public IOrbit create(double mu, Vector r0, Vector v0, double t0)
mu
- Gravitational parameter of central body. (km^3 sec^-2)r0
- Position vector at epoch. (km)v0
- Velocity vector at epoch. (km/sec)t0
- Epoch time of parameters. (sec)public IOrbit create(double mu, double a, double ecc, double i, double omega, double w, double trueAnomaly0)
mu
- Gravitational parameter of central body. (km^3
sec^-2)a
- Semi-major axis. (km)ecc
- Eccentricity.i
- Inclination. (radians)omega
- Longitude of the ascending node. (radians)w
- Argument of periapsis. (radians)trueAnomaly0
- True anomaly at epoch. (radians)public IOrbit create(double mu, double a, double ecc, double i, double omega, double w, double trueAnomaly0, double t0)
mu
- Gravitational parameter of central body. (km^3
sec^-2)a
- Semi-major axis. (km)ecc
- Eccentricity.i
- Inclination. (radians)omega
- Longitude of the ascending node. (radians)w
- Argument of periapsis. (radians)trueAnomaly0
- True anomaly at epoch. (radians)t0
- Epoch time of parameters. (sec)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |