Enum ElementsType

    • 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 name
        NullPointerException - if the argument is null
      • getUnits

        public List<Unit> getUnits()
        Get the elements units.
        Returns:
        elements units
      • 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 date
        elements - elements values
        mu - gravitational parameter in m³/s²
        Returns:
        Cartesian coordinates