Class PlaneCrossingDetector

    • Constructor Detail

      • PlaneCrossingDetector

        public PlaneCrossingDetector​(EventDetectionSettings detectionSettings,
                                     EventHandler handler,
                                     PlaneCrossingFunction planeCrossingFunction)
        Constructor with detection settings and handler.
        Parameters:
        detectionSettings - event detection settings
        handler - event handler to call at event occurrences
        planeCrossingFunction - event function
    • Method Detail

      • 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