Class AbstractVSOP87

java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.vsop87.AbstractVSOP87
All Implemented Interfaces:
IBodyCoordinates, iVSOP87
Direct Known Subclasses:
DummyVSOP87, EarthVSOP87, JupiterVSOP87, MarsVSOP87, MercuryVSOP87, NeptuneVSOP87, SaturnVSOP87, UranusVSOP87, VenusVSOP87

public abstract class AbstractVSOP87 extends AbstractOrbitCoordinates implements iVSOP87
  • Field Details

    • highAccuracy

      protected boolean highAccuracy
  • Constructor Details

    • AbstractVSOP87

      public AbstractVSOP87()
  • Method Details

    • doneLoading

      public void doneLoading(Object... params)
      Description copied from interface: IBodyCoordinates
      Initializes the coordinates object
      Specified by:
      doneLoading in interface IBodyCoordinates
      Overrides:
      doneLoading in class AbstractOrbitCoordinates
      Parameters:
      params - The parameter objects.
    • 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.
      Specified by:
      getEclipticSphericalCoordinates in interface IBodyCoordinates
      Specified by:
      getEclipticSphericalCoordinates in interface iVSOP87
      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.
      Specified by:
      getEclipticCartesianCoordinates in interface IBodyCoordinates
      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.
      Specified by:
      getEquatorialCartesianCoordinates in interface IBodyCoordinates
      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.
    • setHighAccuracy

      public void setHighAccuracy(boolean highAccuracy)
      Specified by:
      setHighAccuracy in interface iVSOP87