Class FieldCylindricalShadowEclipseDetector<T extends CalculusFieldElement<T>>

    • Constructor Detail

      • FieldCylindricalShadowEclipseDetector

        public FieldCylindricalShadowEclipseDetector​(ExtendedPositionProvider sun,
                                                     T occultingBodyRadius,
                                                     FieldEventDetectionSettings<T> eventDetectionSettings,
                                                     FieldEventHandler<T> handler)
        Constructor.
        Parameters:
        sun - light source provider (infinitely distant)
        occultingBodyRadius - occulting body radius
        eventDetectionSettings - detection settings
        handler - event handler
        Since:
        12.2
      • FieldCylindricalShadowEclipseDetector

        @Deprecated
        public FieldCylindricalShadowEclipseDetector​(ExtendedPositionProvider sun,
                                                     T occultingBodyRadius,
                                                     FieldAdaptableInterval<T> maxCheck,
                                                     T threshold,
                                                     int maxIter,
                                                     FieldEventHandler<T> handler)
        Deprecated.
        since 12.2
        Constructor.
        Parameters:
        sun - light source provider (infinitely distant)
        occultingBodyRadius - occulting body radius
        maxCheck - maximum check for event detection
        threshold - threshold for event detection
        maxIter - maximum iteration for event detection
        handler - event handler
      • FieldCylindricalShadowEclipseDetector

        public FieldCylindricalShadowEclipseDetector​(ExtendedPositionProvider sun,
                                                     T occultingBodyRadius,
                                                     FieldEventHandler<T> handler)
        Constructor with default detection settings.
        Parameters:
        sun - light source provider
        occultingBodyRadius - occulting body radius
        handler - event handler
    • Method Detail

      • getOccultingBodyRadius

        public T getOccultingBodyRadius()
        Getter for occulting body radius.
        Returns:
        radius
      • g

        public T g​(FieldSpacecraftState<T> s)
        Compute the value of the switching function. This function must be continuous (at least in its roots neighborhood), as the integrator will need to find its roots to locate the events.
        Parameters:
        s - the current state information: date, kinematics, attitude
        Returns:
        value of the switching function