Interface IBodyCoordinates

    • Method Detail

      • doneLoading

        void doneLoading​(java.lang.Object... params)
        Initializes the coordinates object
        Parameters:
        params -
      • getEclipticSphericalCoordinates

        Vector3d getEclipticSphericalCoordinates​(java.time.Instant instant,
                                                 Vector3d out)
        Returns the ecliptic coordinates of the body in the out vector for the given date.
        Parameters:
        instant - The instant.
        out - The out vector with the ecliptic coordinates in internal units.
        Returns:
        The out vector for chaining.
      • getEclipticCartesianCoordinates

        Vector3d getEclipticCartesianCoordinates​(java.time.Instant instant,
                                                 Vector3d out)
        Gets ecliptic cartesian coordinates for the given date.
        Parameters:
        instant - The instant.
        out - The out vector where the ecliptic cartesian coordinates will be.
        Returns:
        The out vector for chaining, or null if the date is out of range, in case of non elliptical orbits such as Gaia.
      • getEquatorialCartesianCoordinates

        Vector3d getEquatorialCartesianCoordinates​(java.time.Instant instant,
                                                   Vector3d out)
        Gets equatorial cartesian coordinates for the given date.
        Parameters:
        instant - The instant.
        out - The out vector where the equatorial cartesian coordinates will be.
        Returns:
        The out vector for chaining, or null if the date is out of range, in case of non elliptical orbits such as Gaia.
      • getOrbitObject

        Orbit getOrbitObject()
        Gets the orbit object of these coordinates, if any.
        Returns: