public class HaloXZPlaneCrossingDetector extends AbstractDetector<HaloXZPlaneCrossingDetector>
DEFAULT_MAX_ITER, DEFAULT_MAXCHECK, DEFAULT_THRESHOLD
Constructor and Description |
---|
HaloXZPlaneCrossingDetector(double maxCheck,
double threshold)
Simple Constructor.
|
Modifier and Type | Method and 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.
|
eventOccurred, getHandler, getMaxCheckInterval, getMaxIterationCount, getThreshold, init, isForward, resetState, withHandler, withMaxCheck, withMaxIter, withThreshold
public HaloXZPlaneCrossingDetector(double maxCheck, double threshold)
maxCheck
- maximum checking interval (s)threshold
- convergence threshold (s)protected HaloXZPlaneCrossingDetector create(double newMaxCheck, double newThreshold, int newMaxIter, EventHandler<? super HaloXZPlaneCrossingDetector> newHandler)
create
in class AbstractDetector<HaloXZPlaneCrossingDetector>
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 occurrencespublic double g(SpacecraftState s)
g
in interface EventDetector
g
in class AbstractDetector<HaloXZPlaneCrossingDetector>
s
- the current state information: date, kinematics, attitudeCopyright © 2002-2022 CS GROUP. All rights reserved.