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
All Methods Instance Methods Concrete Methods 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)
-
-
-
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)
-
-