Package gaiasky.util.coord
Class EclipticCoordinates
java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.OrbitLintCoordinates
gaiasky.util.coord.EclipticCoordinates
- All Implemented Interfaces:
IBodyCoordinates
public class EclipticCoordinates extends OrbitLintCoordinates
-
Field Summary
-
Constructor Summary
Constructors Constructor Description EclipticCoordinates()
-
Method Summary
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 gaiasky.util.coord.OrbitLintCoordinates
doneLoading, getEclipticCartesianCoordinates
Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
getInstances, getOrbitObject, setOrbitname, setScaling, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
EclipticCoordinates
public EclipticCoordinates()
-
-
Method Details
-
getEclipticSphericalCoordinates
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
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.
-