Class ElevationExtremumEventFunction
- java.lang.Object
-
- org.orekit.propagation.events.functions.ElevationExtremumEventFunction
-
- All Implemented Interfaces:
EventFunction
public class ElevationExtremumEventFunction extends Object implements EventFunction
Event function for elevation extremum with respect to a ground point.- Since:
- 14.0
- Author:
- Romain Serra
-
-
Constructor Summary
Constructors Constructor Description ElevationExtremumEventFunction(TopocentricFrame topo)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
Tvalue(FieldSpacecraftState<T> s)Compute the value of the detection function.doublevalue(SpacecraftState state)Evaluate function.-
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.functions.EventFunction
dependsOnMainVariablesOnly, dependsOnTimeOnly
-
-
-
-
Constructor Detail
-
ElevationExtremumEventFunction
public ElevationExtremumEventFunction(TopocentricFrame topo)
Constructor.- Parameters:
topo- topocentric frame centered on ground point
-
-
Method Detail
-
value
public double value(SpacecraftState state)
Description copied from interface:EventFunctionEvaluate function.- Specified by:
valuein interfaceEventFunction- Parameters:
state- spacecraft state- Returns:
- value
-
value
public <T extends CalculusFieldElement<T>> T value(FieldSpacecraftState<T> s)
Compute the value of the detection function.The value is the spacecraft elevation first time derivative.
- Specified by:
valuein interfaceEventFunction- Type Parameters:
T- field type- Parameters:
s- the current state information: date, kinematics, attitude- Returns:
- spacecraft elevation first time derivative
-
-