Class MoonAACoordinates

All Implemented Interfaces:
IBodyCoordinates

public class MoonAACoordinates extends AbstractOrbitCoordinates
  • Constructor Details

    • MoonAACoordinates

      public MoonAACoordinates()
  • Method Details

    • getEclipticSphericalCoordinates

      public Vector3b getEclipticSphericalCoordinates(Instant date, Vector3b out)
      Description copied from interface: IBodyCoordinates
      Returns the ecliptic coordinates of the body in the out vector for the given date.
      Parameters:
      date - The instant.
      out - The out vector with the ecliptic coordinates in internal units.
      Returns:
      The out vector for chaining.
    • getEclipticCartesianCoordinates

      public Vector3b getEclipticCartesianCoordinates(Instant date, Vector3b out)
      Description copied from interface: IBodyCoordinates
      Gets ecliptic cartesian coordinates for the given date.
      Parameters:
      date - 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

      public Vector3b getEquatorialCartesianCoordinates(Instant date, Vector3b out)
      Description copied from interface: IBodyCoordinates
      Gets equatorial cartesian coordinates for the given date.
      Parameters:
      date - 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.