Package gaiasky.util.coord
Class OrbitLintCoordinates
java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
gaiasky.util.coord.OrbitLintCoordinates
- All Implemented Interfaces:
IBodyCoordinates
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doneLoading
(Object... params) Initializes the coordinates objectgetCopy()
Gets a copy of this coordinates object.getEclipticCartesianCoordinates
(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.protected Matrix4d
protected Matrix4d
protected boolean
void
updateReferences
(Map<String, com.badlogic.ashley.core.Entity> index) Update the references in this coordinates object with the given index.Methods inherited from class gaiasky.util.coord.AbstractOrbitCoordinates
copyParameters, getData, getInstance, getInstances, getOrbitName, setCenter, setCenterkm, setCenterpc, setCentre, setOrbitname, setOrbitName, setPeriodic, setScaling, toString, updateOwner
-
Constructor Details
-
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.
-
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.
-
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.
-
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.
-
isNewMethod
protected boolean isNewMethod() -
getTransformFunction
-
getParentOrientation
-
updateReferences
Description copied from interface:IBodyCoordinates
Update the references in this coordinates object with the given index.- Specified by:
updateReferences
in interfaceIBodyCoordinates
- Overrides:
updateReferences
in classAbstractOrbitCoordinates
- Parameters:
index
- The index to use.
-
getCopy
Description copied from interface:IBodyCoordinates
Gets a copy of this coordinates object.- Specified by:
getCopy
in interfaceIBodyCoordinates
- Overrides:
getCopy
in classAbstractOrbitCoordinates
- Returns:
- The copy.
-