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,NeptuneVSOP87,SaturnVSOP87,UranusVSOP87,VenusVSOP87
public abstract class AbstractVSOP87 extends AbstractOrbitCoordinates implements iVSOP87
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanhighAccuracy-
Fields inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
logger, orbit, orbitname
-
-
Constructor Summary
Constructors Constructor Description AbstractVSOP87()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoneLoading(java.lang.Object... params)Initializes the coordinates objectVector3dgetEclipticCartesianCoordinates(java.time.Instant date, Vector3d out)Gets ecliptic cartesian coordinates for the given date.Vector3dgetEclipticSphericalCoordinates(java.time.Instant date, Vector3d out)Returns the ecliptic coordinates of the body in the out vector for the given date.Vector3dgetEquatorialCartesianCoordinates(java.time.Instant date, Vector3d out)Gets equatorial cartesian coordinates for the given date.voidsetHighAccuracy(boolean highAccuracy)-
Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
getOrbitObject, setOrbitname
-
-
-
-
Method Detail
-
doneLoading
public void doneLoading(java.lang.Object... params)
Description copied from interface:IBodyCoordinatesInitializes the coordinates object- Specified by:
doneLoadingin interfaceIBodyCoordinates- Overrides:
doneLoadingin classAbstractOrbitCoordinates
-
getEclipticSphericalCoordinates
public Vector3d getEclipticSphericalCoordinates(java.time.Instant date, Vector3d out)
Description copied from interface:IBodyCoordinatesReturns the ecliptic coordinates of the body in the out vector for the given date.- Specified by:
getEclipticSphericalCoordinatesin interfaceIBodyCoordinates- 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:IBodyCoordinatesGets ecliptic cartesian coordinates for the given date.- Specified by:
getEclipticCartesianCoordinatesin interfaceIBodyCoordinates- 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:IBodyCoordinatesGets equatorial cartesian coordinates for the given date.- Specified by:
getEquatorialCartesianCoordinatesin 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.
-
setHighAccuracy
public void setHighAccuracy(boolean highAccuracy)
- Specified by:
setHighAccuracyin interfaceiVSOP87
-
-