public class LatitudeExtremumDetector extends AbstractDetector<LatitudeExtremumDetector>
This detector identifies when a spacecraft reaches its extremum latitudes with respect to a central body.
DEFAULT_MAX_ITER, DEFAULT_MAXCHECK, DEFAULT_THRESHOLD| Modifier | Constructor and Description |
|---|---|
protected |
LatitudeExtremumDetector(AdaptableInterval maxCheck,
double threshold,
int maxIter,
EventHandler handler,
OneAxisEllipsoid body)
Protected constructor with full parameters.
|
|
LatitudeExtremumDetector(double maxCheck,
double threshold,
OneAxisEllipsoid body)
Build a detector.
|
|
LatitudeExtremumDetector(OneAxisEllipsoid body)
Build a new detector.
|
| Modifier and Type | Method and Description |
|---|---|
protected LatitudeExtremumDetector |
create(AdaptableInterval newMaxCheck,
double newThreshold,
int newMaxIter,
EventHandler newHandler)
Build a new instance.
|
double |
g(SpacecraftState s)
Compute the value of the detection function.
|
BodyShape |
getBody()
Get the body on which the geographic zone is defined.
|
getHandler, getMaxCheckInterval, getMaxIterationCount, getThreshold, init, isForward, withHandler, withMaxCheck, withMaxCheck, withMaxIter, withThresholdpublic LatitudeExtremumDetector(OneAxisEllipsoid body)
The new instance uses default values for maximal checking interval
(AbstractDetector.DEFAULT_MAXCHECK) and convergence threshold (AbstractDetector.DEFAULT_THRESHOLD).
body - body on which the latitude is definedpublic LatitudeExtremumDetector(double maxCheck,
double threshold,
OneAxisEllipsoid body)
maxCheck - maximal checking interval (s)threshold - convergence threshold (s)body - body on which the latitude is definedprotected LatitudeExtremumDetector(AdaptableInterval maxCheck, double threshold, int maxIter, EventHandler handler, OneAxisEllipsoid body)
This constructor is not public as users are expected to use the builder
API with the various withXxx() methods to set up the instance
in a readable manner without using a huge amount of parameters.
maxCheck - maximum checking intervalthreshold - convergence threshold (s)maxIter - maximum number of iterations in the event time searchhandler - event handler to call at event occurrencesbody - body on which the latitude is definedprotected LatitudeExtremumDetector create(AdaptableInterval newMaxCheck, double newThreshold, int newMaxIter, EventHandler newHandler)
create in class AbstractDetector<LatitudeExtremumDetector>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 BodyShape getBody()
public double g(SpacecraftState s)
The value is the spacecraft latitude time derivative.
g in interface EventDetectorg in class AbstractDetector<LatitudeExtremumDetector>s - the current state information: date, kinematics, attitudeCopyright © 2002-2023 CS GROUP. All rights reserved.