Package gaiasky.scene.record
Class OrbitComponent
java.lang.Object
gaiasky.scene.record.OrbitComponent
-
Field Summary
Modifier and TypeFieldDescriptiondouble
Argument of perihelion in degrees.double
Longitude of the ascending node in degrees.double
Eccentricity of the ellipse, in degrees.double
Base epoch in julian daysdouble
Inclination, angle between the reference plane and the orbital plane, in degrees.double
Mean anomaly at epoch, in degrees.double
G*M of central body (gravitational constant).double
Orbital period in daysdouble
Semi major axis of the ellipse, a in Km.Source file -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.void
loadDataPoint
(Vector3d out, double dtDays) void
loadDataPoint
(Vector3d out, Instant t) void
setArgofpericenter
(Double argOfPericenter) void
setArgOfPericenter
(Double argOfPericenter) void
setAscendingnode
(Double ascendingNode) void
setAscendingNode
(Double ascendingNode) void
void
void
void
setMeananomaly
(Double meanAnomaly) void
setMeanAnomaly
(Double meanAnomaly) void
void
void
setSemimajoraxis
(Double setmiMajorAxis) void
setSemiMajorAxis
(Double semiMajorAxis) void
toString()
-
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
-
setSemimajoraxis
-
setEccentricity
-
setInclination
-
setAscendingNode
-
setAscendingnode
-
setArgOfPericenter
-
setArgofpericenter
-
setMeanAnomaly
-
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
-