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
      • getClosestDistToCamera

        double getClosestDistToCamera()
        Returns the closest star distance to the camera
        Specified by:
        getClosestDistToCamera in interface IFocus
        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
        Specified by:
        getClosestName in interface IFocus
        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
      • getClosestAbsolutePos

        Vector3d getClosestAbsolutePos​(Vector3d out)
        Returns the position of the closest star in world coordinates
        Specified by:
        getClosestAbsolutePos in interface IFocus
        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