Class TimeIntervalDetector

    • Constructor Detail

      • TimeIntervalDetector

        public TimeIntervalDetector​(EventHandler handler,
                                    TimeInterval timeInterval)
        Constructor with default detection settings.
        Parameters:
        handler - event handler
        timeInterval - time interval
      • TimeIntervalDetector

        public TimeIntervalDetector​(EventDetectionSettings detectionSettings,
                                    EventHandler handler,
                                    TimeInterval timeInterval)
        Constructor.
        Parameters:
        detectionSettings - event detection settings
        handler - event handler
        timeInterval - time interval
    • Method Detail

      • getTimeInterval

        public TimeInterval getTimeInterval()
        Getter for the time interval.
        Returns:
        interval
      • g

        public double g​(SpacecraftState s)
        Description copied from interface: EventDetector
        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