Class FieldLatitudeCrossingDetector<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldLatitudeCrossingDetector

        public FieldLatitudeCrossingDetector​(T maxCheck,
                                             T threshold,
                                             BodyShape body,
                                             double latitude)
        Build a detector.
        Parameters:
        maxCheck - maximal checking interval (s)
        threshold - convergence threshold (s)
        body - body on which the latitude is defined
        latitude - latitude to be crossed
      • FieldLatitudeCrossingDetector

        public FieldLatitudeCrossingDetector​(FieldEventDetectionSettings<T> detectionSettings,
                                             FieldEventHandler<T> handler,
                                             BodyShape body,
                                             double latitude)
        Constructor with input detection setting and handler.
        Parameters:
        detectionSettings - event detection settings
        handler - event handler to call at event occurrences
        body - body on which the latitude is defined
        latitude - latitude to be crossed
        Since:
        13.0
      • FieldLatitudeCrossingDetector

        protected FieldLatitudeCrossingDetector​(LatitudeValueCrossingFunction eventFunction,
                                                FieldEventDetectionSettings<T> detectionSettings,
                                                FieldEventHandler<T> handler,
                                                BodyShape body)
        Protected constructor with full parameters.

        This constructor is not public as users are expected to use the builder API with the various withXxx() methods to set up the instance in a readable manner without using a huge amount of parameters.

        Parameters:
        eventFunction - event function
        detectionSettings - event detection settings
        handler - event handler to call at event occurrences
        body - body on which the latitude is defined
        Since:
        14.0