|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<OrbitType>
org.orekit.orbits.OrbitType
public enum OrbitType
Enumerate for orbital
parameters types.
Enum Constant Summary | |
---|---|
APSIS
Type for propagation in Apsis parameters . |
|
CARTESIAN
Type for propagation in Cartesian parameters . |
|
CIRCULAR
Type for propagation in circular parameters . |
|
EQUATORIAL
Type for propagation in Equatorial parameters . |
|
EQUINOCTIAL
Type for propagation in equinoctial parameters . |
|
KEPLERIAN
Type for propagation in Keplerian parameters . |
Method Summary | |
---|---|
abstract Orbit |
convertOrbit(Orbit initOrbit,
Frame frame)
Convert an orbit from a given orbit type to an other in a wished frame. |
abstract Orbit |
convertType(Orbit orbit)
Convert an orbit to the instance type. |
abstract Orbit |
mapArrayToOrbit(double[] array,
PositionAngle type,
AbsoluteDate date,
double mu,
Frame frame)
Convert state array to orbital parameters. |
abstract void |
mapOrbitToArray(Orbit orbit,
PositionAngle type,
double[] stateVector)
Convert orbit to state array. |
static OrbitType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static OrbitType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final OrbitType CARTESIAN
Cartesian parameters
.
public static final OrbitType CIRCULAR
circular parameters
.
public static final OrbitType EQUINOCTIAL
equinoctial parameters
.
public static final OrbitType APSIS
Apsis parameters
.
public static final OrbitType EQUATORIAL
Equatorial parameters
.
public static final OrbitType KEPLERIAN
Keplerian parameters
.
Method Detail |
---|
public static OrbitType[] values()
for (OrbitType c : OrbitType.values()) System.out.println(c);
public static OrbitType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic abstract Orbit convertType(Orbit orbit)
The returned orbit is the specified instance itself if its type already matches, otherwise, a new orbit of the proper type created
orbit
- orbit to convert
public abstract void mapOrbitToArray(Orbit orbit, PositionAngle type, double[] stateVector)
Note that all implementations of this method must be consistent with the
implementation of the Orbit.getJacobianWrtCartesian
method for the corresponding orbit type in terms of parameters order and meaning.
orbit
- orbit to maptype
- type of the anglestateVector
- flat array into which the state vector should be mappedpublic abstract Orbit mapArrayToOrbit(double[] array, PositionAngle type, AbsoluteDate date, double mu, Frame frame)
Note that all implementations of this method must be consistent with the
implementation of the Orbit.getJacobianWrtCartesian
method for the corresponding orbit type in terms of parameters order and meaning.
array
- state as a flat arraytype
- type of the angledate
- integration datemu
- central attraction coefficient used for propagation (m3/s2)frame
- frame in which integration is performed
public abstract Orbit convertOrbit(Orbit initOrbit, Frame frame) throws OrekitException
initOrbit
- the input orbitframe
- the frame where the input orbit is converted
it is not necessary inertial or pseudo-inertial
OrekitException
- if transformation between frames cannot be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |