Class CR3BPSphereCrossingDetector

  • All Implemented Interfaces:
    org.orekit.propagation.events.EventDetector

    public class CR3BPSphereCrossingDetector
    extends org.orekit.propagation.events.AbstractDetector<CR3BPSphereCrossingDetector>
    Detector for YZ Planes crossing.
    Since:
    10.2
    Author:
    Vincent Mouraux
    • Field Summary

      • Fields inherited from class org.orekit.propagation.events.AbstractDetector

        DEFAULT_MAX_ITER, DEFAULT_MAXCHECK, DEFAULT_THRESHOLD
    • Constructor Summary

      Constructors 
      Constructor Description
      CR3BPSphereCrossingDetector​(double primaryR, double secondaryR, org.orekit.bodies.CR3BPSystem syst, double maxCheck, double threshold)
      Simple Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected CR3BPSphereCrossingDetector create​(org.orekit.propagation.events.AdaptableInterval newMaxCheck, double newThreshold, int newMaxIter, org.orekit.propagation.events.handlers.EventHandler newHandler)
      double g​(org.orekit.propagation.SpacecraftState s)
      Compute the value of the detection function.
      • Methods inherited from class org.orekit.propagation.events.AbstractDetector

        getHandler, getMaxCheckInterval, getMaxIterationCount, getThreshold, init, isForward, withHandler, withMaxCheck, withMaxCheck, withMaxIter, withThreshold
    • Constructor Detail

      • CR3BPSphereCrossingDetector

        public CR3BPSphereCrossingDetector​(double primaryR,
                                           double secondaryR,
                                           org.orekit.bodies.CR3BPSystem syst,
                                           double maxCheck,
                                           double threshold)
        Simple Constructor.
        Parameters:
        primaryR - Radius of the primary body sphere (m)
        secondaryR - Radius of the secondary body sphere (m)
        syst - CR3BP System considered
        maxCheck - maximum checking interval (s)
        threshold - convergence threshold (s)
    • Method Detail

      • create

        protected CR3BPSphereCrossingDetector create​(org.orekit.propagation.events.AdaptableInterval newMaxCheck,
                                                     double newThreshold,
                                                     int newMaxIter,
                                                     org.orekit.propagation.events.handlers.EventHandler newHandler)
        Specified by:
        create in class org.orekit.propagation.events.AbstractDetector<CR3BPSphereCrossingDetector>
      • g

        public double g​(org.orekit.propagation.SpacecraftState s)
        Compute the value of the detection function.
        Specified by:
        g in interface org.orekit.propagation.events.EventDetector
        Specified by:
        g in class org.orekit.propagation.events.AbstractDetector<CR3BPSphereCrossingDetector>
        Parameters:
        s - the current state information: date, kinematics, attitude
        Returns:
        Product of the differences between the spacecraft and the center of the primaries