Class StaticParentRotationCoordinates

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

public class StaticParentRotationCoordinates
extends java.lang.Object
implements IBodyCoordinates
A position that never changes
  • Constructor Details

    • StaticParentRotationCoordinates

      public StaticParentRotationCoordinates()
  • Method Details

    • doneLoading

      public void doneLoading​(java.lang.Object... params)
      Description copied from interface: IBodyCoordinates
      Initializes the coordinates object
      Specified by:
      doneLoading in interface IBodyCoordinates
    • getEclipticSphericalCoordinates

      public Vector3b getEclipticSphericalCoordinates​(java.time.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
      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​(java.time.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​(java.time.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.
    • setPosition

      public void setPosition​(double[] position)
    • getOrbitObject

      public Orbit getOrbitObject()
      Description copied from interface: IBodyCoordinates
      Gets the orbit object of these coordinates, if any.
      Specified by:
      getOrbitObject in interface IBodyCoordinates
      Returns: