Package gaiasky.util.coord.vsop87
Class AbstractVSOP87
java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.vsop87.AbstractVSOP87
- All Implemented Interfaces:
IBodyCoordinates
,iVSOP87
- Direct Known Subclasses:
DummyVSOP87
,EarthVSOP87
,JupiterVSOP87
,MarsVSOP87
,MercuryVSOP87
,MoonVSOP87
,NeptuneVSOP87
,SaturnVSOP87
,UranusVSOP87
,VenusVSOP87
VSOP87 coordinates using an implementation based on binary data files.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doneLoading
(Object... params) Initializes the coordinates objectabstract double[]
getData
(double tau) getEclipticCartesianCoordinates
(Instant date, Vector3b out) Gets ecliptic cartesian coordinates for the given date.getEclipticCartesianCoordinatesA
(Instant date, Vector3b out) getEclipticCartesianCoordinatesB
(Instant date, Vector3b out) getEclipticSphericalCoordinates
(Instant date, Vector3b out) Returns the ecliptic coordinates of the body in the out vector for the given date.getEclipticSphericalCoordinatesA
(Instant date, Vector3b out) getEclipticSphericalCoordinatesB
(Instant date, Vector3b out) getEquatorialCartesianCoordinates
(Instant date, Vector3b out) Gets equatorial cartesian coordinates for the given date.Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
getData, getInstance, getInstances, getOrbitName, setCenter, setCenterkm, setCenterpc, setCentre, setOrbitname, setOrbitName, setPeriodic, setScaling, toString
-
Field Details
-
vsop87
-
-
Constructor Details
-
AbstractVSOP87
protected AbstractVSOP87()
-
-
Method Details
-
doneLoading
Description copied from interface:IBodyCoordinates
Initializes the coordinates object- Specified by:
doneLoading
in interfaceIBodyCoordinates
- Overrides:
doneLoading
in classAbstractOrbitCoordinates
- Parameters:
params
- The parameter objects.
-
getData
public abstract double[] getData(double tau) -
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
- Specified by:
getEclipticSphericalCoordinates
in interfaceiVSOP87
- Parameters:
date
- The instant.out
- The out vector with the ecliptic coordinates in internal units.- Returns:
- The out vector for chaining.
-
getEclipticSphericalCoordinatesA
-
getEclipticSphericalCoordinatesB
-
getEclipticCartesianCoordinates
Description copied from interface:IBodyCoordinates
Gets ecliptic cartesian coordinates for the given date.- Specified by:
getEclipticCartesianCoordinates
in interfaceIBodyCoordinates
- Specified by:
getEclipticCartesianCoordinates
in interfaceiVSOP87
- 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.
-
getEclipticCartesianCoordinatesA
-
getEclipticCartesianCoordinatesB
-
getEquatorialCartesianCoordinates
Description copied from interface:IBodyCoordinates
Gets equatorial cartesian coordinates for the given date.- Specified by:
getEquatorialCartesianCoordinates
in interfaceIBodyCoordinates
- 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.
-