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
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)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
source
public java.lang.String sourceSource file -
period
public double periodOrbital period in days -
epoch
public double epochBase epoch -
semimajoraxis
public double semimajoraxisSemi major axis of the ellipse, a in Km. -
e
public double eEccentricity of the ellipse. -
i
public double iInclination, angle between the reference plane (ecliptic) and the orbital plane. -
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
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
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-