Class YZPlaneCrossingDetector
- java.lang.Object
-
- org.orekit.propagation.events.AbstractDetector<YZPlaneCrossingDetector>
-
- org.orekit.tutorials.propagation.cr3bp.YZPlaneCrossingDetector
-
- All Implemented Interfaces:
org.orekit.propagation.events.EventDetector
public class YZPlaneCrossingDetector extends org.orekit.propagation.events.AbstractDetector<YZPlaneCrossingDetector>
Detector for YZ Planes crossing.- Since:
- 10.2
- Author:
- Vincent Mouraux
-
-
Constructor Summary
Constructors Constructor Description YZPlaneCrossingDetector(double delta, double maxCheck, double threshold)
Simple Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected YZPlaneCrossingDetector
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.
-
-
-
Method Detail
-
create
protected YZPlaneCrossingDetector 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<YZPlaneCrossingDetector>
-
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<YZPlaneCrossingDetector>
- Parameters:
s
- the current state information: date, kinematics, attitude- Returns:
- Difference between spacecraft X position and the targeted plane offset from zero
-
-