Enum EncounterLOFType

    • Enum Constant Detail

      • DEFAULT

        public static final EncounterLOFType DEFAULT
        Default encounter local orbital frame based on Figure 1.3 from Romain Serra's thesis.

        Note that it is up to the user to choose which object should be at the origin.

      • VALSECCHI

        public static final EncounterLOFType VALSECCHI
        Valsecchi encounter local orbital frame based on Valsecchi formulation from : "Valsecchi, G. B., Milani, A., Gronchi, G. F. & Ches- ley, S. R. Resonant returns to close approaches: Analytical theory. Astronomy & Astrophysics 408, 1179–1196 (2003)."

        Note that it is up to the user to choose which object should be at the origin.

    • Method Detail

      • values

        public static EncounterLOFType[] 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 (EncounterLOFType c : EncounterLOFType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EncounterLOFType 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
      • getFrame

        public abstract EncounterLOF getFrame​(PVCoordinates other)
        Get encounter local orbital frame associated to this enum.
        Parameters:
        other - other object position and velocity coordinates that is not the origin of the encounter frame
        Returns:
        encounter local orbital frame associated to this enum