Class ProperMotion
java.lang.Object
gaiasky.scene.component.ProperMotion
- All Implemented Interfaces:
com.badlogic.ashley.core.Component, ICopy
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoubleProper motion epoch in julian days.booleanThis flag is up if pm is not null, and it is not zero.com.badlogic.gdx.math.Vector3Proper motion in cartesian equatorial internal coordinates [U/yr].com.badlogic.gdx.math.Vector3MuAlpha* [mas/yr], MuDelta [mas/yr], RadVel [km/s]. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.badlogic.ashley.core.ComponentgetCopy(com.badlogic.ashley.core.Engine engine) voidinitPm()voidsetEpochJd(Double epochJd) voidsetEpochYear(Double epochYear) Sets the epoch as a Gregorian calendar year and a fraction (i.e.voidsetMuAlpha(Double muAlpha) voidsetMuAlphaMasYr(Double muAlpha) voidsetMuDelta(Double muDelta) voidsetMuDeltaMasYr(Double muDelta) voidvoidvoidvoid
-
Field Details
-
epochJd
public double epochJdProper motion epoch in julian days. Defaults to J2015.5. -
pm
public com.badlogic.gdx.math.Vector3 pmProper motion in cartesian equatorial internal coordinates [U/yr]. -
pmSph
public com.badlogic.gdx.math.Vector3 pmSphMuAlpha* [mas/yr], MuDelta [mas/yr], RadVel [km/s]. -
hasPm
public boolean hasPmThis flag is up if pm is not null, and it is not zero.
-
-
Constructor Details
-
ProperMotion
public ProperMotion()
-
-
Method Details
-
setEpochJd
-
setEpochYear
Sets the epoch as a Gregorian calendar year and a fraction (i.e. 2015.5).- Parameters:
epochYear- The Gregorian calendar year and fraction, as a double.
-
initPm
public void initPm() -
setMuAlpha
-
setMuAlphaMasYr
-
setMuDelta
-
setMuDeltaMasYr
-
setVr
-
setVrKms
-
setRadialVelocity
-
setRadialVelocityKms
-
getCopy
-