Class ElevationValueCrossingFunction
java.lang.Object
org.orekit.propagation.events.functions.AbstractTopocentricEventFunction
org.orekit.propagation.events.functions.AbstractElevationCrossingFunction
org.orekit.propagation.events.functions.ElevationValueCrossingFunction
- All Implemented Interfaces:
EventFunction
Class for single-value crossing elevation event.
- Since:
- 14.0
- Author:
- Romain Serra
-
Constructor Summary
ConstructorsConstructorDescriptionElevationValueCrossingFunction(AtmosphericRefractionModel refractionModel, TopocentricFrame topo, double criticalElevation) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiondoubleGetter for the minimum elevation.<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.AbstractElevationCrossingFunction
applyRefraction, applyRefraction, getElevation, getElevation, getRefractionModelMethods inherited from class org.orekit.propagation.events.functions.AbstractTopocentricEventFunction
getTopocentricFrameMethods 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
-
ElevationValueCrossingFunction
public ElevationValueCrossingFunction(AtmosphericRefractionModel refractionModel, TopocentricFrame topo, double criticalElevation) Constructor.- Parameters:
refractionModel- reference to refraction model (can be null in which case no correction is applied)topo- reference to a topocentric modelcriticalElevation- elevation defining function's root
-
-
Method Details
-
getCriticalElevation
public double getCriticalElevation()Getter for the minimum elevation.- Returns:
- min. elevation
-
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
-