Class ParticleGroup.ParticleBean

  • All Implemented Interfaces:
    Direct Known Subclasses:
    Enclosing class:

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

      Modifier and Type Field Description
      double[] data  
      java.util.Map<UCD,​java.lang.Double> extra  
      static int I_X  
      static int I_Y  
      static int I_Z  
      java.lang.String[] names  
      OctreeNode octant  
    • Constructor Summary

      Constructor Description
      ParticleBean​(double[] data)  
      ParticleBean​(double[] data, java.lang.String[] names)  
      ParticleBean​(double[] data, java.lang.String[] names, java.util.Map<UCD,​java.lang.Double> extra)  
      ParticleBean​(double[] data, java.util.Map<UCD,​java.lang.Double> extra)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addName​(java.lang.String name)  
      void addNames​(java.lang.String... names)  
      double b()
      Galactic latitude in degrees.
      double beta()
      Ecliptic latitude in degrees.
      double dec()
      Declination in degrees.
      double distance()
      Distance in internal units.
      double getExtra​(java.lang.String name)  
      boolean hasExtra​(java.lang.String name)  
      boolean hasName​(java.lang.String candidate)  
      boolean hasName​(java.lang.String candidate, boolean matchCase)  
      double l()
      Galactic longitude in degrees.
      double lambda()
      Ecliptic longitude in degrees.
      java.lang.String namesConcat()  
      double parallax()
      Parallax in mas.
      Vector3d pos​(Vector3d aux)  
      double ra()
      Right ascension in degrees.
      void setName​(java.lang.String name)  
      void setNames​(java.lang.String... names)  
      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,
                            java.lang.String[] names,
                            java.util.Map<UCD,​java.lang.Double> extra)
      • ParticleBean

        public ParticleBean​(double[] data)
      • ParticleBean

        public ParticleBean​(double[] data,
                            java.lang.String[] names)
      • ParticleBean

        public ParticleBean​(double[] data,
                            java.util.Map<UCD,​java.lang.Double> extra)
    • Method Detail

      • distance

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

        public double parallax()
        Parallax in mas.
        The parallax in mas.
      • ra

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

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

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

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

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

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

        public double x()
      • y

        public double y()
      • z

        public double z()
      • namesConcat

        public java.lang.String namesConcat()
      • hasName

        public boolean hasName​(java.lang.String candidate)
      • hasName

        public boolean hasName​(java.lang.String candidate,
                               boolean matchCase)
      • setNames

        public void setNames​(java.lang.String... names)
      • setName

        public void setName​(java.lang.String name)
      • addName

        public void addName​(java.lang.String name)
      • addNames

        public void addNames​(java.lang.String... names)
      • hasExtra

        public boolean hasExtra​(java.lang.String name)
      • getExtra

        public double getExtra​(java.lang.String name)