Package org.orekit.propagation.events
Class HaloXZPlaneCrossingDetector
- java.lang.Object
-
- org.orekit.propagation.events.AbstractDetector<HaloXZPlaneCrossingDetector>
-
- org.orekit.propagation.events.HaloXZPlaneCrossingDetector
-
- All Implemented Interfaces:
EventDetector
public class HaloXZPlaneCrossingDetector extends AbstractDetector<HaloXZPlaneCrossingDetector>
Detector for XZ Plane 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 HaloXZPlaneCrossingDetector(double maxCheck, double threshold)
Simple Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HaloXZPlaneCrossingDetector
create(double newMaxCheck, double newThreshold, int newMaxIter, EventHandler<? super HaloXZPlaneCrossingDetector> newHandler)
Build a new instance.double
g(SpacecraftState s)
Compute the value of the detection function.-
Methods inherited from class org.orekit.propagation.events.AbstractDetector
eventOccurred, getHandler, getMaxCheckInterval, getMaxIterationCount, getThreshold, init, isForward, resetState, withHandler, withMaxCheck, withMaxIter, withThreshold
-
-
-
-
Method Detail
-
create
protected HaloXZPlaneCrossingDetector create(double newMaxCheck, double newThreshold, int newMaxIter, EventHandler<? super HaloXZPlaneCrossingDetector> newHandler)
Build a new instance.- Specified by:
create
in classAbstractDetector<HaloXZPlaneCrossingDetector>
- Parameters:
newMaxCheck
- maximum checking interval (s)newThreshold
- convergence threshold (s)newMaxIter
- maximum number of iterations in the event time searchnewHandler
- event handler to call at event occurrences- Returns:
- a new instance of the appropriate sub-type
-
g
public double g(SpacecraftState s)
Compute the value of the detection function.- Specified by:
g
in interfaceEventDetector
- Specified by:
g
in classAbstractDetector<HaloXZPlaneCrossingDetector>
- Parameters:
s
- the current state information: date, kinematics, attitude- Returns:
- Position on Y axis
-
-