Class Particle

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, I3DTextRenderable, ILineRenderable, IModelRenderable, IQuadRenderable, IRenderable, IFocus, IProperMotion, IStarContainer, IStarFocus, IVisibilitySwitch, IPosition
Direct Known Subclasses:
Star

public class Particle extends CelestialBody implements IStarFocus, ILineRenderable
A single point particle.
  • Field Details

    • DISC_FACTOR

      protected static final float DISC_FACTOR
      See Also:
    • thpointTimesFovfactor

      protected static float thpointTimesFovfactor
    • thupOverFovfactor

      protected static float thupOverFovfactor
    • thdownOverFovfactor

      protected static float thdownOverFovfactor
    • innerRad

      protected static float innerRad
    • fovFactor

      protected static float fovFactor
    • paramUpdater

      protected static Particle.ParamUpdater paramUpdater
    • pm

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

      public com.badlogic.gdx.math.Vector3 pmSph
      MuAlpha [mas/yr], Mudelta [mas/yr], radvel [km/s]
    • catalogSource

      public byte catalogSource
      Source of this star:
      • -1: Unknown
      • 1: Gaia
      • 2: Hipparcos (HYG)
      • 3: Tycho
    • computedSize

      public double computedSize
  • Constructor Details

    • Particle

      public Particle()
    • Particle

      public Particle(double thNone, double thPoint, double thQuad, float textScale, float labelFactor, float labelMax, float primitiveRenderScale, SceneGraphRenderer.RenderGroup bbRenderGroup)
    • Particle

      public Particle(Vector3b pos, float appmag, float absmag, float colorbv, String[] names, float ra, float dec, long starid, double thNone, double thPoint, double thQuad, float textScale, float labelFactor, float labelMax, float primitiveRenderScale, SceneGraphRenderer.RenderGroup bbRenderGroup)
    • Particle

      public Particle(Vector3b pos, float appmag, float absmag, float colorbv, String[] names, long starid)
      Creates a new star.
      Parameters:
      pos - Cartesian position, in equatorial coordinates and in internal units.
      appmag - Apparent magnitude.
      absmag - Absolute magnitude.
      colorbv - The B-V color index.
      names - The labels or names.
      starid - The star unique id.
    • Particle

      public Particle(Vector3b pos, float appmag, float absmag, float colorbv, String[] names, float ra, float dec, long starid)
    • Particle

      public Particle(Vector3b pos, com.badlogic.gdx.math.Vector3 pm, com.badlogic.gdx.math.Vector3 pmSph, float appmag, float absmag, float colorbv, String[] names, float ra, float dec, long starid)
  • Method Details