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 double
argofpericenter
Argument of perihelion in degrees.double
ascendingnode
Longitude of the ascending node in degrees.double
e
Eccentricity of the ellipse.double
epoch
Base epochdouble
i
Inclination, angle between the reference plane (ecliptic) and the orbital plane.double
meananomaly
Mean anomaly at epoch, in degrees.double
mu
G*M of central body (gravitational constant).double
period
Orbital period in daysdouble
semimajoraxis
Semi major axis of the ellipse, a in Km.java.lang.String
source
Source file -
Constructor Summary
Constructors Constructor Description OrbitComponent()
-
Method Summary
Modifier and Type Method Description void
loadDataPoint(Vector3d out, java.time.Instant t)
void
setArgofpericenter(java.lang.Double argofpericenter)
void
setAscendingnode(java.lang.Double ascendingnode)
void
setEccentricity(java.lang.Double e)
void
setEpoch(java.lang.Double epoch)
void
setInclination(java.lang.Double i)
void
setMeananomaly(java.lang.Double meanAnomaly)
void
setMu(java.lang.Double mu)
void
setPeriod(java.lang.Double period)
void
setSemimajoraxis(java.lang.Double semimajoraxis)
void
setSource(java.lang.String source)
java.lang.String
toString()
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:
toString
in classjava.lang.Object
-