Class FieldEclipseDetector<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldEclipseDetector

        protected FieldEclipseDetector​(FieldEventDetectionSettings<T> detectionSettings,
                                       FieldEventHandler<T> handler,
                                       OccultationEngine occultationEngine,
                                       T margin,
                                       boolean totalEclipse)
        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:
        detectionSettings - event detection settings
        handler - event handler to call at event occurrences
        occultationEngine - occultation engine
        margin - to apply to eclipse angle (rad)
        totalEclipse - umbra (true) or penumbra (false) detection flag
        Since:
        13.0