Class ParticleGroup.ParticleBean

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    StarGroup.StarBean
    Enclosing class:
    ParticleGroup

    public static class ParticleGroup.ParticleBean
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double[] data  
      static int I_X  
      static int I_Y  
      static int I_Z  
    • Constructor Summary

      Constructors 
      Constructor Description
      ParticleBean​(double[] data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double b()
      Galactic latitude in degrees.
      double beta()
      Ecliptic latitude in degrees.
      double dec()
      Declination in degrees.
      double distance()
      Distance in internal units.
      double l()
      Galactic longitude in degrees.
      double lambda()
      Ecliptic longitude in degrees.
      Vector3d pos​(Vector3d aux)  
      double ra()
      Right ascension in degrees.
      double x()  
      double y()  
      double z()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ParticleBean

        public ParticleBean​(double[] data)
    • Method Detail

      • distance

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

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

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

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

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

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

        public double b()
        Galactic latitude in degrees.
        Returns:
        The galactic latitude, in degrees
      • x

        public double x()
      • y

        public double y()
      • z

        public double z()