Enum ElementsType
- java.lang.Object
-
- java.lang.Enum<ElementsType>
-
- org.orekit.files.ccsds.definitions.ElementsType
-
- All Implemented Interfaces:
Serializable
,Comparable<ElementsType>
public enum ElementsType extends Enum<ElementsType>
Orbit element set type used in CCSDSOrbit Comprehensive Messages
.- Since:
- 11.0
- Author:
- Luc Maisonobe
- See Also:
- SANA registry for orbital elements
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADBARV
Spherical 6-element set (α,δ,β,A,r,v).CARTP
Cartesian 3-element position (X, Y, Z).CARTPV
Cartesian 6-element position and velocity (X, Y, Z, XD, YD, ZD).CARTPVA
Cartesian 9-element position, velocity and acceleration (X, Y, Z, XD, YD, ZD, XDD, YDD, ZDD).DELAUNAY
Delaunay elements (L, G, H, l, g, h).DELAUNAYMOD
Modified Delaunay elements (Lm, Gm, Hm, lm, gm, hm).EIGVAL3EIGVEC3
12 elements eigenvalue/eigenvectors (EigMaj, EigMed, EigMin, EigVecMaj, EigVecMed, EigVecMin).EQUINOCTIAL
Equinoctial elements (a, af, ag, L=M+ω+frΩ, χ, ψ, fr).EQUINOCTIALMOD
Modified equinoctial elements (p=a(1−e²), af, ag, L'=υ+ω+frΩ, χ, ψ, fr).GEODETIC
Geodetic elements (λ, ΦGD, β, A, h, vre).KEPLERIAN
Keplerian 6-element classical set (a, e, i, Ω, ω, ν).KEPLERIANMEAN
Keplerian 6-element classical set (a, e, i, Ω, ω, M).LDBARV
Modified spherical 6-element set (λ, δ, β, A, r, v).ONSTATION
Geosynchronous on-station tailored set (a, ex, ey, ix, iy, λ).POINCARE
Canonical counterpart of equinoctial 6-element set (λM=M+ω+Ω, gp, hp, Lp, Gp, Hp).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkUnits(List<Unit> parsedUnits)
Check if parsed units are compatible with elements types.List<Unit>
getUnits()
Get the elements units.TimeStampedPVCoordinates
toCartesian(AbsoluteDate date, double[] elements, double mu)
Convert to Cartesian coordinates.String
toString()
static ElementsType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ElementsType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADBARV
public static final ElementsType ADBARV
Spherical 6-element set (α,δ,β,A,r,v).
-
CARTP
public static final ElementsType CARTP
Cartesian 3-element position (X, Y, Z).
-
CARTPV
public static final ElementsType CARTPV
Cartesian 6-element position and velocity (X, Y, Z, XD, YD, ZD).
-
CARTPVA
public static final ElementsType CARTPVA
Cartesian 9-element position, velocity and acceleration (X, Y, Z, XD, YD, ZD, XDD, YDD, ZDD).
-
DELAUNAY
public static final ElementsType DELAUNAY
Delaunay elements (L, G, H, l, g, h).
-
DELAUNAYMOD
public static final ElementsType DELAUNAYMOD
Modified Delaunay elements (Lm, Gm, Hm, lm, gm, hm).
-
EIGVAL3EIGVEC3
public static final ElementsType EIGVAL3EIGVEC3
12 elements eigenvalue/eigenvectors (EigMaj, EigMed, EigMin, EigVecMaj, EigVecMed, EigVecMin).
-
EQUINOCTIAL
public static final ElementsType EQUINOCTIAL
Equinoctial elements (a, af, ag, L=M+ω+frΩ, χ, ψ, fr).
-
EQUINOCTIALMOD
public static final ElementsType EQUINOCTIALMOD
Modified equinoctial elements (p=a(1−e²), af, ag, L'=υ+ω+frΩ, χ, ψ, fr).
-
GEODETIC
public static final ElementsType GEODETIC
Geodetic elements (λ, ΦGD, β, A, h, vre).
-
KEPLERIAN
public static final ElementsType KEPLERIAN
Keplerian 6-element classical set (a, e, i, Ω, ω, ν).
-
KEPLERIANMEAN
public static final ElementsType KEPLERIANMEAN
Keplerian 6-element classical set (a, e, i, Ω, ω, M).
-
LDBARV
public static final ElementsType LDBARV
Modified spherical 6-element set (λ, δ, β, A, r, v).
-
ONSTATION
public static final ElementsType ONSTATION
Geosynchronous on-station tailored set (a, ex, ey, ix, iy, λ).
-
POINCARE
public static final ElementsType POINCARE
Canonical counterpart of equinoctial 6-element set (λM=M+ω+Ω, gp, hp, Lp, Gp, Hp).
-
-
Method Detail
-
values
public static ElementsType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ElementsType c : ElementsType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ElementsType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
checkUnits
public void checkUnits(List<Unit> parsedUnits)
Check if parsed units are compatible with elements types.- Parameters:
parsedUnits
- units to check
-
toCartesian
public TimeStampedPVCoordinates toCartesian(AbsoluteDate date, double[] elements, double mu)
Convert to Cartesian coordinates.- Parameters:
date
- elements dateelements
- elements valuesmu
- gravitational parameter in m³/s²- Returns:
- Cartesian coordinates
-
toString
public String toString()
- Overrides:
toString
in classEnum<ElementsType>
-
-