Class AltitudeEventFunction
java.lang.Object
org.orekit.propagation.events.functions.AbstractGeodeticEventFunction
org.orekit.propagation.events.functions.AltitudeEventFunction
- All Implemented Interfaces:
EventFunction
Class for geodetic altitude value-crossing event function.
It is negative under the critical value.
- Since:
- 14.0
- Author:
- Romain Serra
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> fieldState) Evaluate Field function.doublevalue(SpacecraftState state) Evaluate function.Methods inherited from class org.orekit.propagation.events.functions.AbstractGeodeticEventFunction
getBodyShape, transformToGeodeticPoint, transformToGeodeticPointMethods 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
-
AltitudeEventFunction
Constructor.- Parameters:
body- bodycriticalAltitude- altitude for crossing
-
-
Method Details
-
value
Description copied from interface:EventFunctionEvaluate function.- Parameters:
state- 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.- Type Parameters:
T- field type- Parameters:
fieldState- spacecraft state- Returns:
- value
-