Class CR3BPSphereCrossingDetector
- java.lang.Object
-
- org.orekit.propagation.events.AbstractDetector<CR3BPSphereCrossingDetector>
-
- org.orekit.tutorials.propagation.cr3bp.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
-
-
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.
-
-
-
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 consideredmaxCheck
- 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 classorg.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 interfaceorg.orekit.propagation.events.EventDetector
- Specified by:
g
in classorg.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
-
-