Interface IStarFocus

    • Method Detail

      • getCatalogSource

        int getCatalogSource()
        Gets the catalog source of this star. Possible values are:
        • -1: Unknown
        • 1: Gaia
        • 2: Hipparcos (HYG)
        • 3: Tycho
        • 4: Other
        Returns:
        The catalog source number
      • getId

        long getId()
        Returns the identifier
        Specified by:
        getId in interface IFocus
        Returns:
        The identifier of this star
      • getHip

        int getHip()
        Returns the HIP number of this star, or negative if it has no HIP number
        Returns:
        The HIP number
      • getClosestDist

        double getClosestDist()
        Returns the closest star distance to the camera
        Returns:
        Distance of closest star to camera
      • getClosestSize

        double getClosestSize()
        Returns the size of the closest star
        Returns:
        The size of the closest star
      • getClosestName

        java.lang.String getClosestName()
        Name of closest star to camera
        Returns:
        The name of the closest star to the camera
      • getClosestPos

        Vector3d getClosestPos​(Vector3d out)
        Returns the position of the closest star in camera coordinates
        Parameters:
        out - The out vector
        Returns:
        The out vector with the position
      • getClosestCol

        float[] getClosestCol()
        Returns the color of the closest star
        Returns:
        The color in rgb