Class ExtremumAngularSeparationFunction
java.lang.Object
org.orekit.propagation.events.functions.ExtremumAngularSeparationFunction
- All Implemented Interfaces:
EventFunction
Event function for local extrema of angular separation. It is positive when the angle increases.
- Since:
- 14.0
- Author:
- Romain Serra
-
Constructor Summary
ConstructorsConstructorDescriptionExtremumAngularSeparationFunction(ExtendedPositionProvider beacon, ExtendedPositionProvider observer) Protected constructor with full parameters. -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> s) Evaluate Field function.doubleEvaluate function.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.propagation.events.functions.EventFunction
dependsOnMainVariablesOnly, dependsOnTimeOnly
-
Constructor Details
-
ExtremumAngularSeparationFunction
public ExtremumAngularSeparationFunction(ExtendedPositionProvider beacon, ExtendedPositionProvider observer) Protected constructor with full parameters.- Parameters:
beacon- 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 Details
-
value
Description copied from interface:EventFunctionEvaluate function.- Specified by:
valuein interfaceEventFunction- Parameters:
s- spacecraft state- Returns:
- value
-
value
Description copied from interface:EventFunctionEvaluate Field function. By default, calls the non-Field version. This is suitable for detection but not be for applications like automatic differentiation, where a proper implementation should be used instead.- Specified by:
valuein interfaceEventFunction- Type Parameters:
T- field type- Parameters:
s- spacecraft state- Returns:
- value
-