Package gaiasky.util.coord
Class PlutoCoordinates
- java.lang.Object
-
- gaiasky.util.coord.AbstractOrbitCoordinates
-
- gaiasky.util.coord.PlutoCoordinates
-
- All Implemented Interfaces:
IBodyCoordinates
public class PlutoCoordinates extends AbstractOrbitCoordinates
-
-
Field Summary
-
Fields inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
logger, orbit, orbitname
-
-
Constructor Summary
Constructors Constructor Description PlutoCoordinates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doneLoading(java.lang.Object... params)
Initializes the coordinates objectVector3d
getEclipticCartesianCoordinates(java.time.Instant date, Vector3d out)
Gets ecliptic cartesian coordinates for the given date.Vector3d
getEclipticSphericalCoordinates(java.time.Instant date, Vector3d out)
Returns the ecliptic coordinates of the body in the out vector for the given date.Vector3d
getEquatorialCartesianCoordinates(java.time.Instant date, Vector3d out)
Gets equatorial cartesian coordinates for the given date.-
Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
getOrbitObject, setOrbitname
-
-
-
-
Method Detail
-
doneLoading
public void doneLoading(java.lang.Object... params)
Description copied from interface:IBodyCoordinates
Initializes the coordinates object- Specified by:
doneLoading
in interfaceIBodyCoordinates
- Overrides:
doneLoading
in classAbstractOrbitCoordinates
-
getEclipticSphericalCoordinates
public Vector3d getEclipticSphericalCoordinates(java.time.Instant date, Vector3d 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 Vector3d getEclipticCartesianCoordinates(java.time.Instant date, Vector3d 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 Vector3d getEquatorialCartesianCoordinates(java.time.Instant date, Vector3d 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.
-
-