Class ExtremumAngularSeparationFunction

  • All Implemented Interfaces:
    EventFunction

    public class ExtremumAngularSeparationFunction
    extends Object
    implements EventFunction
    Event function for local extrema of angular separation. It is positive when the angle increases.
    Since:
    14.0
    Author:
    Romain Serra
    • Constructor Detail

      • ExtremumAngularSeparationFunction

        public ExtremumAngularSeparationFunction​(ExtendedPositionProvider beacon,
                                                 ExtendedPositionProvider observer)
        Protected constructor with full parameters.
        Parameters:
        beacon - beacon at the center of the proximity zone
        observer - observer for the spacecraft, that may also see the beacon at the same time if they are too close to each other
    • Method Detail

      • value

        public <T extends CalculusFieldElement<T>> T value​(FieldSpacecraftState<T> s)
        Description copied from interface: EventFunction
        Evaluate Field function. By default, calls the non-Field version. This is suitable for detection but not be for applications like automatic differentiation, where a proper implementation should be used instead.
        Specified by:
        value in interface EventFunction
        Type Parameters:
        T - field type
        Parameters:
        s - spacecraft state
        Returns:
        value