Class HeliotropicOrbitCoordinates

java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.HeliotropicOrbitCoordinates
All Implemented Interfaces:
IBodyCoordinates

public class HeliotropicOrbitCoordinates extends AbstractOrbitCoordinates
  • Constructor Details Link icon

    • HeliotropicOrbitCoordinates Link icon

      public HeliotropicOrbitCoordinates()
  • Method Details Link icon

    • getEclipticCartesianCoordinates Link icon

      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.
    • getEclipticSphericalCoordinates Link icon

      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.
    • getEquatorialCartesianCoordinates Link icon

      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.
    • updateReferences Link icon

      public void updateReferences(Map<String,com.badlogic.ashley.core.Entity> index)
      Description copied from interface: IBodyCoordinates
      Update the references in this coordinates object with the given index.
      Specified by:
      updateReferences in interface IBodyCoordinates
      Overrides:
      updateReferences in class AbstractOrbitCoordinates
      Parameters:
      index - The index to use.
    • getCopy Link icon

      public IBodyCoordinates getCopy()
      Description copied from interface: IBodyCoordinates
      Gets a copy of this coordinates object.
      Specified by:
      getCopy in interface IBodyCoordinates
      Overrides:
      getCopy in class AbstractOrbitCoordinates
      Returns:
      The copy.