Package gaiasky.util.coord
Class AbstractOrbitCoordinates
java.lang.Object
gaiasky.util.coord.AbstractOrbitCoordinates
- All Implemented Interfaces:
IBodyCoordinates
- Direct Known Subclasses:
AbstractVSOP87
,HeliotropicOrbitCoordinates
,MoonAACoordinates
,OrbitLintCoordinates
,PlutoCoordinates
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doneLoading
(Object... params) Initializes the coordinates objectprotected PointCloudData
getData()
static <T extends AbstractOrbitCoordinates>
TgetInstance
(Class<T> clazz) static List<AbstractOrbitCoordinates>
void
setCenter
(double[] center) void
setCenterkm
(double[] center) void
setCenterpc
(double[] center) void
setCentre
(double[] center) void
setOrbitname
(String orbitName) void
setOrbitName
(String orbitName) void
setScaling
(double scaling) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface gaiasky.util.coord.IBodyCoordinates
getEclipticCartesianCoordinates, getEclipticSphericalCoordinates, getEquatorialCartesianCoordinates
-
Field Details
-
logger
-
instances
-
orbitname
-
center
-
entity
protected com.badlogic.ashley.core.Entity entity -
scaling
protected double scaling
-
-
Constructor Details
-
AbstractOrbitCoordinates
public AbstractOrbitCoordinates()
-
-
Method Details
-
getInstances
-
getInstance
-
doneLoading
Description copied from interface:IBodyCoordinates
Initializes the coordinates object- Specified by:
doneLoading
in interfaceIBodyCoordinates
- Parameters:
params
- The parameter objects.
-
getOrbitName
-
setOrbitName
-
setOrbitname
-
setScaling
public void setScaling(double scaling) -
toString
-
setCentre
public void setCentre(double[] center) -
setCenter
public void setCenter(double[] center) -
setCenterkm
public void setCenterkm(double[] center) -
setCenterpc
public void setCenterpc(double[] center) -
getData
-