Package gaiasky.util.coord
Class AbstractOrbitCoordinates
- java.lang.Object
-
- gaiasky.util.coord.AbstractOrbitCoordinates
-
- All Implemented Interfaces:
IBodyCoordinates
- Direct Known Subclasses:
AbstractVSOP87
,GaiaCoordinates
,MoonAACoordinates
,OrbitLintCoordinates
,PlutoCoordinates
public abstract class AbstractOrbitCoordinates extends java.lang.Object implements IBodyCoordinates
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.List<AbstractOrbitCoordinates>
instances
protected static Logger.Log
logger
protected Orbit
orbit
protected java.lang.String
orbitname
protected double
scaling
-
Constructor Summary
Constructors Constructor Description AbstractOrbitCoordinates()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doneLoading(java.lang.Object... params)
Initializes the coordinates objectstatic java.util.List<AbstractOrbitCoordinates>
getInstances()
Orbit
getOrbitObject()
Gets the orbit object of these coordinates, if any.void
setOrbitname(java.lang.String orbitname)
void
setScaling(double scaling)
java.lang.String
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 Detail
-
logger
protected static final Logger.Log logger
-
instances
protected static final java.util.List<AbstractOrbitCoordinates> instances
-
orbitname
protected java.lang.String orbitname
-
orbit
protected Orbit orbit
-
scaling
protected double scaling
-
-
Method Detail
-
getInstances
public static java.util.List<AbstractOrbitCoordinates> getInstances()
-
doneLoading
public void doneLoading(java.lang.Object... params)
Description copied from interface:IBodyCoordinates
Initializes the coordinates object- Specified by:
doneLoading
in interfaceIBodyCoordinates
-
setOrbitname
public void setOrbitname(java.lang.String orbitname)
-
getOrbitObject
public Orbit getOrbitObject()
Description copied from interface:IBodyCoordinates
Gets the orbit object of these coordinates, if any.- Specified by:
getOrbitObject
in interfaceIBodyCoordinates
- Returns:
-
setScaling
public void setScaling(double scaling)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-