Class EclipticCoordinates
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.coord.AbstractOrbitCoordinates
-
- gaia.cu9.ari.gaiaorbit.util.coord.OrbitLintCoordinates
-
- gaia.cu9.ari.gaiaorbit.util.coord.EclipticCoordinates
-
- All Implemented Interfaces:
IBodyCoordinates
public class EclipticCoordinates extends OrbitLintCoordinates
-
-
Field Summary
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.util.coord.AbstractOrbitCoordinates
logger, orbit, orbitname
-
-
Constructor Summary
Constructors Constructor Description EclipticCoordinates()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vector3d
getEclipticSphericalCoordinates(java.time.Instant instant, Vector3d out)
Returns the ecliptic coordinates of the body in the out vector for the given date.Vector3d
getEquatorialCartesianCoordinates(java.time.Instant instant, Vector3d out)
Gets equatorial cartesian coordinates for the given date.-
Methods inherited from class gaia.cu9.ari.gaiaorbit.util.coord.OrbitLintCoordinates
doneLoading, getEclipticCartesianCoordinates
-
Methods inherited from class gaia.cu9.ari.gaiaorbit.util.coord.AbstractOrbitCoordinates
getOrbitObject, setOrbitname
-
-
-
-
Method Detail
-
getEclipticSphericalCoordinates
public Vector3d getEclipticSphericalCoordinates(java.time.Instant instant, Vector3d 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 interfaceIBodyCoordinates
- Overrides:
getEclipticSphericalCoordinates
in classOrbitLintCoordinates
- Parameters:
instant
- The instant.out
- The out vector with the ecliptic coordinates in internal units.- Returns:
- The out vector for chaining.
-
getEquatorialCartesianCoordinates
public Vector3d getEquatorialCartesianCoordinates(java.time.Instant instant, Vector3d out)
Description copied from interface:IBodyCoordinates
Gets equatorial cartesian coordinates for the given date.- Specified by:
getEquatorialCartesianCoordinates
in interfaceIBodyCoordinates
- Overrides:
getEquatorialCartesianCoordinates
in classOrbitLintCoordinates
- Parameters:
instant
- 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.
-
-