Class FieldLongitudeCrossingDetector<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements
    All Implemented Interfaces:
    FieldDetectorModifier<T>, FieldEventDetector<T>

    public class FieldLongitudeCrossingDetector<T extends CalculusFieldElement<T>>
    extends FieldAbstractGeographicalDetector<FieldLongitudeCrossingDetector<T>,​T>
    implements FieldDetectorModifier<T>
    Detector for geographic longitude crossing.

    This detector identifies when a spacecraft crosses a fixed longitude with respect to a central body.

    The value is the longitude difference between the spacecraft and the fixed longitude to be crossed, with some sign tweaks to ensure continuity. These tweaks imply the increasing flag in events detection becomes irrelevant here! As an example, the longitude of a prograde spacecraft will always increase, but this g function will increase and decrease so it will cross the zero value once per orbit, in increasing and decreasing directions on alternate orbits. If eastwards and westwards crossing have to be distinguished, the velocity direction has to be checked instead of looking at the increasing flag.

    Since:
    12.0
    Author:
    Alberto Ferrero