Package gaiasky.scenegraph.component
Class OrbitComponent
java.lang.Object
gaiasky.scenegraph.component.OrbitComponent
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleArgument of perihelion in degrees.doubleLongitude of the ascending node in degrees.doubleEccentricity of the ellipse, in degrees.doubleBase epoch in julian daysdoubleInclination, angle between the reference plane and the orbital plane, in degrees.doubleMean anomaly at epoch, in degrees.doubleG*M of central body (gravitational constant).doubleOrbital period in daysdoubleSemi major axis of the ellipse, a in Km.Source file -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method automatically computes the standard gravitational parameter (mu) of the orbit if the period and the semi-major axis are set as mu=4 pi^2 a^3 / T^2.voidloadDataPoint(Vector3d out, double dtDays) voidloadDataPoint(Vector3d out, Instant t) voidsetArgofpericenter(Double argofpericenter) voidsetAscendingnode(Double ascendingnode) voidvoidvoidvoidsetMeananomaly(Double meanAnomaly) voidvoidvoidsetSemimajoraxis(Double semimajoraxis) voidtoString()
-
Field Details
-
source
Source file -
period
public double periodOrbital period in days -
epoch
public double epochBase epoch in julian days -
semimajoraxis
public double semimajoraxisSemi major axis of the ellipse, a in Km. -
e
public double eEccentricity of the ellipse, in degrees. -
i
public double iInclination, angle between the reference plane and the orbital plane, in degrees. -
ascendingnode
public double ascendingnodeLongitude of the ascending node in degrees. -
argofpericenter
public double argofpericenterArgument of perihelion in degrees. -
meananomaly
public double meananomalyMean anomaly at epoch, in degrees. -
mu
public double muG*M of central body (gravitational constant). Defaults to the Sun's
-
-
Constructor Details
-
OrbitComponent
public OrbitComponent()
-
-
Method Details
-
setSource
-
setPeriod
-
setEpoch
-
setSemimajoraxis
-
setEccentricity
-
setInclination
-
setAscendingnode
-
setArgofpericenter
-
setMeananomaly
-
computeMu
public void computeMu()This method automatically computes the standard gravitational parameter (mu) of the orbit if the period and the semi-major axis are set as mu=4 pi^2 a^3 / T^2. -
setMu
-
loadDataPoint
-
loadDataPoint
-
toString
-