org.orekit.orbits
public enum OrbitType extends Enum<OrbitType>
orbital
parameters types.Enum Constant and Description |
---|
CARTESIAN
Type for propagation in
Cartesian parameters . |
CIRCULAR
Type for propagation in
circular parameters . |
EQUINOCTIAL
Type for propagation in
equinoctial parameters . |
KEPLERIAN
Type for propagation in
Keplerian parameters . |
Modifier and Type | Method and Description |
---|---|
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.
|
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 KEPLERIAN
Keplerian parameters
.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 nameNullPointerException
- 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 convertpublic 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 performedCopyright © 2002–2015 CS Syst?mes d'Information. All rights reserved.