Package gaiasky.scenegraph.component
Class OrbitComponent
- java.lang.Object
-
- gaiasky.scenegraph.component.OrbitComponent
-
public class OrbitComponent extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description doubleargofpericenterArgument of perihelion in degrees.doubleascendingnodeLongitude of the ascending node in degrees.doubleeEccentricity of the ellipse.doubleepochBase epochdoubleiInclination, angle between the reference plane (ecliptic) and the orbital plane.doublemeananomalyMean anomaly at epoch, in degrees.doublemuG*M of central body (gravitational constant).doubleperiodOrbital period in daysdoublesemimajoraxisSemi major axis of the ellipse, a in Km.java.lang.StringsourceSource file
-
Constructor Summary
Constructors Constructor Description OrbitComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidloadDataPoint(Vector3d out, java.time.Instant t)voidsetArgofpericenter(java.lang.Double argofpericenter)voidsetAscendingnode(java.lang.Double ascendingnode)voidsetEccentricity(java.lang.Double e)voidsetEpoch(java.lang.Double epoch)voidsetInclination(java.lang.Double i)voidsetMeananomaly(java.lang.Double meanAnomaly)voidsetMu(java.lang.Double mu)voidsetPeriod(java.lang.Double period)voidsetSemimajoraxis(java.lang.Double semimajoraxis)voidsetSource(java.lang.String source)
-
-
-
Field Detail
-
source
public java.lang.String source
Source file
-
period
public double period
Orbital period in days
-
epoch
public double epoch
Base epoch
-
semimajoraxis
public double semimajoraxis
Semi major axis of the ellipse, a in Km.
-
e
public double e
Eccentricity of the ellipse.
-
i
public double i
Inclination, angle between the reference plane (ecliptic) and the orbital plane.
-
ascendingnode
public double ascendingnode
Longitude of the ascending node in degrees.
-
argofpericenter
public double argofpericenter
Argument of perihelion in degrees.
-
meananomaly
public double meananomaly
Mean anomaly at epoch, in degrees.
-
mu
public double mu
G*M of central body (gravitational constant). Defaults to the Sun's
-
-
Method Detail
-
setSource
public void setSource(java.lang.String source)
-
setPeriod
public void setPeriod(java.lang.Double period)
-
setEpoch
public void setEpoch(java.lang.Double epoch)
-
setSemimajoraxis
public void setSemimajoraxis(java.lang.Double semimajoraxis)
-
setEccentricity
public void setEccentricity(java.lang.Double e)
-
setInclination
public void setInclination(java.lang.Double i)
-
setAscendingnode
public void setAscendingnode(java.lang.Double ascendingnode)
-
setArgofpericenter
public void setArgofpericenter(java.lang.Double argofpericenter)
-
setMeananomaly
public void setMeananomaly(java.lang.Double meanAnomaly)
-
setMu
public void setMu(java.lang.Double mu)
-
loadDataPoint
public void loadDataPoint(Vector3d out, java.time.Instant t)
-
-