Class ProperMotion

java.lang.Object
gaiasky.scene.component.ProperMotion
All Implemented Interfaces:
com.badlogic.ashley.core.Component, ICopy

public class ProperMotion extends Object implements com.badlogic.ashley.core.Component, ICopy
  • Field Details

    • epochJd

      public double epochJd
      Proper motion epoch in julian days. Defaults to J2015.5.
    • pm

      public com.badlogic.gdx.math.Vector3 pm
      Proper motion in cartesian equatorial internal coordinates [U/yr].
    • pmSph

      public com.badlogic.gdx.math.Vector3 pmSph
      MuAlpha* [mas/yr], MuDelta [mas/yr], RadVel [km/s].
    • hasPm

      public boolean hasPm
      This flag is up if pm is not null, and it is not zero.
  • Constructor Details

    • ProperMotion

      public ProperMotion()
  • Method Details

    • setEpochJd

      public void setEpochJd(Double epochJd)
    • setEpochYear

      public void setEpochYear(Double epochYear)
      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

      public void setMuAlpha(Double muAlpha)
    • setMuAlphaMasYr

      public void setMuAlphaMasYr(Double muAlpha)
    • setMuDelta

      public void setMuDelta(Double muDelta)
    • setMuDeltaMasYr

      public void setMuDeltaMasYr(Double muDelta)
    • setVr

      public void setVr(Double rv)
    • setVrKms

      public void setVrKms(Double rv)
    • setRadialVelocity

      public void setRadialVelocity(Double rv)
    • setRadialVelocityKms

      public void setRadialVelocityKms(Double rv)
    • getCopy

      public com.badlogic.ashley.core.Component getCopy(com.badlogic.ashley.core.Engine engine)
      Specified by:
      getCopy in interface ICopy