|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspice.basic.OsculatingElements
public class OsculatingElements
Class OsculatingElements provides methods for conversion between state vectors and osculating elements. The class also supports two-body propagation of osculating elements or state vectors.
Added no-arguments constructor.
The protection of the field `eltArray' and of the index constants has been changed from "private" to "protected," in order to support derived classes.
Field Summary | |
---|---|
protected double[] |
eltArray
|
protected static int |
IDX_ARGP
|
protected static int |
IDX_ECC
|
protected static int |
IDX_INC
|
protected static int |
IDX_LNODE
|
protected static int |
IDX_M0
|
protected static int |
IDX_MU
|
protected static int |
IDX_RP
|
protected static int |
IDX_T0
|
protected static int |
NELTS
|
Constructor Summary | |
---|---|
OsculatingElements(double[] eltArray)
Array constructor. |
|
OsculatingElements(OsculatingElements elts)
Copy constructor. |
|
OsculatingElements(StateVector state,
Time t,
double mu)
Create osculating elements from a StateVector, a Time, and a gravitational parameter (GM). |
Method Summary | |
---|---|
double |
getArgumentOfPeriapsis()
Return the argument of periapsis. |
double |
getEccentricity()
Return the eccentricity. |
TDBTime |
getEpoch()
Return the epoch of this instance. |
double |
getGM()
Return the gravitational parameter of this instance. |
double |
getInclination()
Return the inclination. |
double |
getLongitudeOfNode()
Return the longitude of the ascending node. |
double |
getMeanAnomaly()
Return the mean anomaly at epoch. |
double |
getPerifocalDistance()
Return the perifocal distance. |
static StateVector |
propagate(StateVector initialState,
double mu,
TDBDuration dt)
Propagate an initial state vector and gravitational parameter to another state vector at a given time offset. |
StateVector |
propagate(Time t)
Propagate these elements to a state at a given epoch. |
double[] |
toArray()
Obtain the elements of this instance in an array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int NELTS
protected static final int IDX_RP
protected static final int IDX_ECC
protected static final int IDX_INC
protected static final int IDX_LNODE
protected static final int IDX_ARGP
protected static final int IDX_M0
protected static final int IDX_T0
protected static final int IDX_MU
protected double[] eltArray
Constructor Detail |
---|
public OsculatingElements(double[] eltArray) throws SpiceException
Set the elements of this instance to the values contained in the input array.
The array elements are, in order:
RP Perifocal distance. ECC Eccentricity. INC Inclination. LNODE Longitude of the ascending node. ARGP Argument of periapsis. M0 Mean anomaly at epoch. T0 Epoch. MU Gravitational parameter.
Distance units are km. Angular units are radians.
SpiceException
public OsculatingElements(OsculatingElements elts)
public OsculatingElements(StateVector state, Time t, double mu) throws SpiceException
The GM value `mu' is expressed in units of
3 2 km / sec
SpiceException
Method Detail |
---|
public double[] toArray()
The elements are, in order:
RP Perifocal distance. ECC Eccentricity. INC Inclination. LNODE Longitude of the ascending node. ARGP Argument of periapsis. M0 Mean anomaly at epoch. T0 Epoch. MU Gravitational parameter.
Distance units are km. Angular units are radians.
public double getPerifocalDistance()
public double getEccentricity()
public double getInclination()
public double getLongitudeOfNode()
public double getArgumentOfPeriapsis()
public double getMeanAnomaly()
public TDBTime getEpoch()
public double getGM()
The GM value `mu' is expressed in units of
3 2 km / sec
public StateVector propagate(Time t) throws SpiceException
SpiceException
public static StateVector propagate(StateVector initialState, double mu, TDBDuration dt) throws SpiceException
SpiceException
|
JNISpice version 2.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |