Interface IParticleRecord

All Known Implementing Classes:
ParticleRecord, PointParticleRecord, VariableRecord

public interface IParticleRecord
  • Method Details Link icon

    • rawDoubleData Link icon

      double[] rawDoubleData()
    • rawFloatData Link icon

      float[] rawFloatData()
    • x Link icon

      double x()
    • y Link icon

      double y()
    • z Link icon

      double z()
    • setPos Link icon

      void setPos(double x, double y, double z)
    • pos Link icon

      Vector3d pos(Vector3d aux)
    • hasProperMotion Link icon

      boolean hasProperMotion()
    • pmx Link icon

      double pmx()
    • pmy Link icon

      double pmy()
    • pmz Link icon

      double pmz()
    • setVelocityVector Link icon

      void setVelocityVector(double vx, double vy, double vz)
    • names Link icon

      String[] names()
    • namesConcat Link icon

      String namesConcat()
    • hasName Link icon

      boolean hasName(String candidate)
    • hasName Link icon

      boolean hasName(String candidate, boolean matchCase)
    • setNames Link icon

      void setNames(String... names)
    • setName Link icon

      void setName(String name)
    • addName Link icon

      void addName(String name)
    • addNames Link icon

      void addNames(String... names)
    • appMag Link icon

      float appMag()
    • absMag Link icon

      float absMag()
    • setMag Link icon

      void setMag(float appmag, float absmag)
    • hasColor Link icon

      boolean hasColor()
    • col Link icon

      float col()
    • setCol Link icon

      void setCol(float col)
    • rgb Link icon

      double[] rgb()
    • hasSize Link icon

      boolean hasSize()
    • size Link icon

      float size()
    • setSize Link icon

      void setSize(float size)
    • radius Link icon

      double radius()
    • setId Link icon

      void setId(long id)
    • id Link icon

      long id()
    • setHip Link icon

      void setHip(int hip)
    • hip Link icon

      int hip()
    • mualpha Link icon

      float mualpha()
    • mudelta Link icon

      float mudelta()
    • radvel Link icon

      float radvel()
    • setProperMotion Link icon

      void setProperMotion(float mualpha, float mudelta, float radvel)
    • octant Link icon

      OctreeNode octant()
    • setOctant Link icon

      void setOctant(OctreeNode octant)
    • distance Link icon

      double distance()
      Distance in internal units. Beware, does the computation on the fly.
      Returns:
      The distance, in internal units.
    • parallax Link icon

      double parallax()
      Parallax in mas.
      Returns:
      The parallax in mas.
    • ra Link icon

      double ra()
      Right ascension in degrees. Beware, does the conversion on the fly.
      Returns:
      The right ascension, in degrees.
    • dec Link icon

      double dec()
      Declination in degrees. Beware, does the conversion on the fly.
      Returns:
      The declination, in degrees.
    • lambda Link icon

      double lambda()
      Ecliptic longitude in degrees.
      Returns:
      The ecliptic longitude, in degrees.
    • beta Link icon

      double beta()
      Ecliptic latitude in degrees.
      Returns:
      The ecliptic latitude, in degrees.
    • l Link icon

      double l()
      Galactic longitude in degrees.
      Returns:
      The galactic longitude, in degrees.
    • b Link icon

      double b()
      Galactic latitude in degrees.
      Returns:
      The galactic latitude, in degrees.
    • setTeff Link icon

      void setTeff(float teff)
    • teff Link icon

      float teff()
      Returns the effective temperature, in K.
      Returns:
      The effective temperature in K.
    • setExtraAttributes Link icon

      void setExtraAttributes(com.badlogic.gdx.utils.ObjectMap<UCD,Object> extra)
    • hasExtra Link icon

      boolean hasExtra()
    • hasExtra Link icon

      boolean hasExtra(String name)
    • hasExtra Link icon

      boolean hasExtra(UCD ucd)
    • getExtra Link icon

      com.badlogic.gdx.utils.ObjectMap<UCD,Object> getExtra()
      Gets the extra attributes map.
      Returns:
      The map.
    • getExtra Link icon

      Object getExtra(String name)
      Gets the extra data filed with the given name.
      Parameters:
      name - The name of the data filed to get.
      Returns:
      The data field, or null if it does not exist.
    • getExtra Link icon

      Object getExtra(UCD ucd)
      Gets the extra data filed with the given UCD.
      Parameters:
      ucd - The UCD of the data filed to get.
      Returns:
      The data field, or null if it does not exist.
    • getExtraNumber Link icon

      double getExtraNumber(String name)
      Gets the extra data filed with the given name, as a double number.
      Parameters:
      name - The name of the data filed to get.
      Returns:
      The data field as a double, or NaN if it does not exist or is not a number.
    • getExtraNumber Link icon

      double getExtraNumber(UCD ucd)
      Gets the extra data filed with the given UCD, as a double number.
      Parameters:
      ucd - The UCD of the data filed to get.
      Returns:
      The data field as a double, or NaN if it does not exist or is not a number.
    • extraKeys Link icon

      com.badlogic.gdx.utils.ObjectMap.Keys<UCD> extraKeys()
    • getType Link icon

      Returns the particle record type.
      Returns:
      The type.