Class Star

    • Field Detail

      • hip

        public int hip
        Deprecated.
        HIP number, negative if non existent
      • tycho

        public java.lang.String tycho
        Deprecated.
        TYCHO2 identifier string
    • Constructor Detail

      • Star

        public Star()
        Deprecated.
      • Star

        public Star​(Vector3d pos,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    long starid)
        Deprecated.
      • Star

        public Star​(Vector3d pos,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    float ra,
                    float dec,
                    long starid)
        Deprecated.
        Creates a new Star object
        Parameters:
        pos - The position of the star in equatorial cartesian coordinates
        appmag - The apparent magnitude
        absmag - The absolute magnitude
        colorbv - The B-V color index
        names - The proper names of the star, if any
        ra - in degrees
        dec - in degrees
        starid - The star id
      • Star

        public Star​(Vector3d pos,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    float ra,
                    float dec,
                    long starid,
                    int hip,
                    byte source)
        Deprecated.
        Creates a new Star object
        Parameters:
        pos - The position of the star in equatorial cartesian coordinates
        appmag - The apparent magnitude
        absmag - The absolute magnitude
        colorbv - The B-V color index
        names - The proper names of the star, if any
        ra - in degrees
        dec - in degrees
        starid - The star id
        hip - The HIP identifier
        source - Catalog source. 1: Gaia, 2: HIP, 3: TYC, -1: Unknown
      • Star

        public Star​(Vector3d pos,
                    com.badlogic.gdx.math.Vector3 pm,
                    com.badlogic.gdx.math.Vector3 pmSph,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    float ra,
                    float dec,
                    long starid,
                    int hip,
                    java.lang.String tycho,
                    byte source)
        Deprecated.
        Creates a new Star object
        Parameters:
        pos - The position of the star in equatorial cartesian coordinates
        pm - The proper motion of the star in equatorial cartesian coordinates.
        pmSph - The proper motion with mualpha, mudelta, radvel.
        appmag - The apparent magnitude
        absmag - The absolute magnitude
        colorbv - The B-V color index
        names - The proper names of the star, if any
        ra - in degrees
        dec - in degrees
        starid - The star id
        hip - The HIP identifier
        source - Catalog source. See {#Particle}
      • Star

        public Star​(Vector3d pos,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    float ra,
                    float dec,
                    long starid,
                    int hip,
                    java.lang.String tycho,
                    byte source)
        Deprecated.
        Creates a new Star object
        Parameters:
        pos - The position of the star in equatorial cartesian coordinates
        appmag - The apparent magnitude
        absmag - The absolute magnitude
        colorbv - The B-V color index
        names - The proper names of the star, if any
        ra - in degrees
        dec - in degrees
        starid - The star id
        hip - The HIP identifier
        tycho - The TYC identifier
        source - Catalog source. See {#Particle}
      • Star

        public Star​(Vector3d pos,
                    com.badlogic.gdx.math.Vector3 pm,
                    com.badlogic.gdx.math.Vector3 pmSph,
                    float appmag,
                    float absmag,
                    float colorbv,
                    java.lang.String[] names,
                    float ra,
                    float dec,
                    long starid)
        Deprecated.
        Creates a new Star object
        Parameters:
        pos - The position of the star in equatorial cartesian coordinates
        pm - The proper motion of the star in equatorial cartesian coordinates
        pmSph - The proper motion with mualpha, mudelta, radvel.
        appmag - The apparent magnitude
        absmag - The absolute magnitude
        colorbv - The B-V color index
        names - The proper names of the star, if any
        ra - in degrees
        dec - in degrees
        starid - The star id
    • Method Detail

      • initModel

        public static void initModel()
        Deprecated.
      • initialize

        public void initialize()
        Deprecated.
        Overrides:
        initialize in class Particle
      • addToRenderLists

        protected void addToRenderLists​(ICamera camera)
        Deprecated.
        Description copied from class: AbstractPositionEntity
        Adds this entity to the necessary render lists after the distance to the camera and the view angle have been determined.
        Overrides:
        addToRenderLists in class Particle
      • addHit

        public void addHit​(int screenX,
                           int screenY,
                           int w,
                           int h,
                           int minPixDist,
                           NaturalCamera camera,
                           com.badlogic.gdx.utils.Array<IFocus> hits)
        Deprecated.
        Description copied from interface: IFocus
        Adds this focus to the hits list if it is hit by the [screenX, screenY] position
        Specified by:
        addHit in interface IFocus
        Overrides:
        addHit in class CelestialBody
        Parameters:
        screenX - The x position of the hit
        screenY - The y position of the hit
        w - The viewport width
        h - The viewport height
        minPixDist - The minimum pixel distance to consider as hit
        camera - The camera
        hits - The list where to add the element
      • doneLoading

        public void doneLoading​(com.badlogic.gdx.assets.AssetManager manager)
        Deprecated.
        Overrides:
        doneLoading in class Particle
      • getHip

        public int getHip()
        Deprecated.
        Description copied from interface: IStarFocus
        Returns the HIP number of this star, or negative if it has no HIP number
        Specified by:
        getHip in interface IStarFocus
        Overrides:
        getHip in class Particle
        Returns:
        The HIP number
      • addToIndex

        protected void addToIndex​(com.badlogic.gdx.utils.ObjectMap<java.lang.String,​SceneGraphNode> map)
        Deprecated.
        Description copied from class: SceneGraphNode
        Special actions to be taken for this object when adding to the index.
        Overrides:
        addToIndex in class SceneGraphNode
        Parameters:
        map - The index
      • removeFromIndex

        protected void removeFromIndex​(com.badlogic.gdx.utils.ObjectMap<java.lang.String,​SceneGraphNode> map)
        Deprecated.
        Description copied from class: SceneGraphNode
        Special actions to be taken for this object when removing from the index. Must implement if addToIndex is implemented
        Overrides:
        removeFromIndex in class SceneGraphNode
        Parameters:
        map - The index