Package org.orekit.propagation.events
Class FieldExtremumAngularSeparationDetector<T extends CalculusFieldElement<T>>
- java.lang.Object
-
- org.orekit.propagation.events.FieldAbstractDetector<FieldExtremumAngularSeparationDetector<T>,T>
-
- org.orekit.propagation.events.FieldExtremumAngularSeparationDetector<T>
-
- All Implemented Interfaces:
FieldEventDetector<T>
public class FieldExtremumAngularSeparationDetector<T extends CalculusFieldElement<T>> extends FieldAbstractDetector<FieldExtremumAngularSeparationDetector<T>,T>
Detector of local extrema with angular separation.- Since:
- 13.1
- Author:
- Romain Serra
- See Also:
FieldAngularSeparationDetector
-
-
Field Summary
-
Fields inherited from class org.orekit.propagation.events.FieldAbstractDetector
DEFAULT_MAX_CHECK, DEFAULT_MAX_ITER, DEFAULT_THRESHOLD
-
-
Constructor Summary
Constructors Constructor Description FieldExtremumAngularSeparationDetector(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, ExtendedPositionProvider beacon, ExtendedPositionProvider observer)
Protected constructor with full parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected FieldExtremumAngularSeparationDetector<T>
create(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> newHandler)
Build a new instance.T
g(FieldSpacecraftState<T> s)
Compute the value of the switching function.ExtendedPositionProvider
getBeacon()
Get the beacon at the center of the proximity zone.ExtendedPositionProvider
getObserver()
Get the observer for the spacecraft.-
Methods inherited from class org.orekit.propagation.events.FieldAbstractDetector
checkIfForward, getDetectionSettings, getHandler, init, isForward, withDetectionSettings, withHandler, withMaxCheck, withMaxCheck, withMaxIter, withThreshold
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.propagation.events.FieldEventDetector
dependsOnTimeOnly, finish, getMaxCheckInterval, getMaxIterationCount, getThreshold, reset
-
-
-
-
Constructor Detail
-
FieldExtremumAngularSeparationDetector
public FieldExtremumAngularSeparationDetector(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> handler, ExtendedPositionProvider beacon, ExtendedPositionProvider observer)
Protected constructor with full parameters.- Parameters:
detectionSettings
- detection settingshandler
- event handler to call at event occurrencesbeacon
- beacon at the center of the proximity zoneobserver
- observer for the spacecraft, that may also see the beacon at the same time if they are too close to each other
-
-
Method Detail
-
create
protected FieldExtremumAngularSeparationDetector<T> create(FieldEventDetectionSettings<T> detectionSettings, FieldEventHandler<T> newHandler)
Build a new instance.- Specified by:
create
in classFieldAbstractDetector<FieldExtremumAngularSeparationDetector<T extends CalculusFieldElement<T>>,T extends CalculusFieldElement<T>>
- Parameters:
detectionSettings
- detection settingsnewHandler
- event handler to call at event occurrences- Returns:
- a new instance of the appropriate sub-type
-
getBeacon
public ExtendedPositionProvider getBeacon()
Get the beacon at the center of the proximity zone.- Returns:
- beacon at the center of the proximity zone
-
getObserver
public ExtendedPositionProvider getObserver()
Get the observer for the spacecraft.- Returns:
- observer for the spacecraft
-
g
public T g(FieldSpacecraftState<T> s)
Description copied from interface:FieldEventDetector
Compute the value of the switching function. This function must be continuous (at least in its roots neighborhood), as the integrator will need to find its roots to locate the events.- Parameters:
s
- the current state information: date, kinematics, attitude- Returns:
- value of the switching function
-
-