Enum Class OrbitElementsType
- All Implemented Interfaces:
Serializable,Comparable<OrbitElementsType>,Constable
Orbit element set type used in CCSDS
Orbit Comprehensive Messages.- Since:
- 11.0
- Author:
- Luc Maisonobe
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSpherical 6-element set (α,δ,β,A,r,v).Cartesian 3-element position (X, Y, Z).Cartesian 6-element position and velocity (X, Y, Z, XD, YD, ZD).Cartesian 9-element position, velocity and acceleration (X, Y, Z, XD, YD, ZD, XDD, YDD, ZDD).Delaunay elements (L, G, H, l, g, h).Modified Delaunay elements (Lm, Gm, Hm, lm, gm, hm).12 elements eigenvalue/eigenvectors (EigMaj, EigMed, EigMin, EigVecMaj, EigVecMed, EigVecMin).Equinoctial elements (a, af, ag, L=M+ω+frΩ, χ, ψ, fr).Modified equinoctial elements (p=a(1−e²), af, ag, L'=υ+ω+frΩ, χ, ψ, fr).Geodetic elements (λ, ΦGD, β, A, h, vre).Keplerian 6-element classical set (a, e, i, Ω, ω, ν).Keplerian 6-element classical set (a, e, i, Ω, ω, M).Modified spherical 6-element set (λ, δ, β, A, r, v).Geosynchronous on-station tailored set (a, ex, ey, ix, iy, λ).Canonical counterpart of equinoctial 6-element set (λM=M+ω+Ω, gp, hp, Lp, Gp, Hp). -
Method Summary
Modifier and TypeMethodDescriptiongetUnits()Get the elements units.toCartesian(AbsoluteDate date, double[] elements, OneAxisEllipsoid body, double mu) Convert to Cartesian coordinates.double[]toRawElements(TimeStampedPVCoordinates pv, Frame frame, OneAxisEllipsoid body, double mu) Convert to raw elements array.toString()static OrbitElementsTypeReturns the enum constant of this class with the specified name.static OrbitElementsType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getUnits
Get the elements units.- Returns:
- elements units
-
toCartesian
public TimeStampedPVCoordinates toCartesian(AbsoluteDate date, double[] elements, OneAxisEllipsoid body, double mu) Convert to Cartesian coordinates.- Parameters:
date- elements dateelements- elements values in SI unitsbody- central body (may be null if type is notGEODETIC)mu- gravitational parameter in m³/s²- Returns:
- Cartesian coordinates
-
toRawElements
public double[] toRawElements(TimeStampedPVCoordinates pv, Frame frame, OneAxisEllipsoid body, double mu) Convert to raw elements array.- Parameters:
pv- Cartesian coordinatesframe- inertial frame where elements are definedbody- central body (may be null if type is notGEODETIC)mu- gravitational parameter in m³/s²- Returns:
- elements elements values in SI units
- Since:
- 12.0
-
toString
- Overrides:
toStringin classEnum<OrbitElementsType>
-