Package gaiasky.util.coord
Class HeliotropicOrbitCoordinates
java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.HeliotropicOrbitCoordinates
- All Implemented Interfaces:
IBodyCoordinates
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEclipticCartesianCoordinates
(Instant date, Vector3b out) Gets ecliptic cartesian coordinates for the given date.getEclipticSphericalCoordinates
(Instant date, Vector3b out) Returns the ecliptic coordinates of the body in the out vector for the given date.getEquatorialCartesianCoordinates
(Instant date, Vector3b out) Gets equatorial cartesian coordinates for the given date.Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
doneLoading, getData, getInstance, getInstances, getOrbitName, setCenter, setCenterkm, setCenterpc, setCentre, setOrbitname, setOrbitName, setScaling, toString
-
Constructor Details
-
HeliotropicOrbitCoordinates
public HeliotropicOrbitCoordinates()
-
-
Method Details
-
getEclipticCartesianCoordinates
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
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
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.
-